midi : sorting the commands, add cc dictionary