Alphabetizes commands before sending