carry out sort dir according the new style of directory tre