moveItem

fun moveItem(oldIndex: Int, newIndex: Int)

Moves an item within items. If the item was previously selected, it remains selected. (If you were to just remove and add the item, this would not be true).