sort commands alphabetically by category