ordering the MIDI messages is tough...