reordering dirs