Fix crash when attempting to sort an empty directory
Fix crash when attempting to sort an empty directory

I had taken care to not sort empty directories during dirlist_open(),
but forgot that manual user actions can still cause dirlist_set_sort()
to be called, which does not handle empty directories.

Reported by Alex Wilson.

rofl0r/ncdu,piyo/ncdu,rofl0r/ncdu