reordering dirs and sources
reordering dirs and sources