Código Flex :
public function swapItemsAt(fromIndex:Number, toIndex:Number, collection:ArrayCollection):void{ var fromItem:Object = collection.getItemAt(fromIndex); var toItem:Object = collection.getItemAt(toIndex); collection.setItemAt(fromItem, toIndex) collection.setItemAt(toItem, fromIndex); }
El problema es que al hacer el swap, los 2 items que cambié de índice se van al final del nodo.
Saludos