Sorted dir entries by name with directories first.