Reorder commands