change directory order