reorder some deps