more changes to directoryList sorting