Do While lastItem CODE] If you manage this loop the other way round, ie start with the highest, or highest plus 1, deduct 1 each time, and stop when the count gets to 0 or 1 (not sure of the precise logic), the items should get inserted in descending order. [/QUOTE] [QUOTE="gemma-the-husky, post: 1742225, member: 35672"] [CODE]Do While lastItem CODE] If you manage this loop the other way round, ie start with the highest, or highest plus 1, deduct 1 each time, and stop when the count gets to 0 or 1 (not sure of the precise logic), the items should get inserted in descending order. [/QUOTE] [QUOTE="gemma-the-husky, post: 1742225, member: 35672"] [CODE]Do While lastItem CODE] If you manage this loop the other way round, ie start with the highest, or highest plus 1, deduct 1 each time, and stop when the count gets to 0 or 1 (not sure of the precise logic), the items should get inserted in descending order. [/QUOTE]