I have 11 items in an array that have and ID of 1 to 11.
Instead of just showing them in the default order, I want to manually customize the order using another array.
@items = Item.all # only 11 items in item table
@item_order = [4,9,8,7,3,2,1,10,11,5,6]
@items.sort_by_id ?
Is something like this possible? Currently everything I have tried hasn't worked.