rearrange directory structure.
sort algorithm in c