#!/bin/bash
# lst: list files in the current directory, with directories first, then sorted by file extension
(ls -p | grep / ; ls -p | grep -v / | sort -t. -k2,2 -si) | xa ls -U -d --color=auto "$@"
