Originally Posted By: tanstaafl.
(by doing insert 1, then enqueue 2,3,4,5...) instead of ending up with a sequence of 1, 2, 3, 4, 5 I ended up with a sequence of 2, 3, 4, 5, 1.


Yep. That's the expected behaviour.
_________________________
-- roger