Reorder directories