Change the order of the directories