Reorder the directory