Attached is a patch which adds support for a directory-first sort mode
for ls. This mode can be used in two ways:
-e/--dirsfirst [--sort=method]: Sorts directories first, then by the
specified method (by name, by default)
--sort=dirsfirst: Sorts directories first, then by name