Order commands and aliases by their length. Closes #64