Sort by command name

Requested in issue #29