Repeating images sorting by order number

How have you tried to do that? Have you tried to add that logic to the up/down arrow workflows? If so, posting that step of the workflow for the forum is your best bet.

Although this post deals with drag-and-drop, the logic of storing old_order and current order is probably what you need: