Sort available commands for display