add directory-first sort for ll