Press space to pick up an item and use arrow keys to reorder. Press space again to commit or escape to cancel.