Sort items by order