For nearly coincident note-on the sequence does not matter, but note-off must be sent before a new note-on in strict order (could be the same note).
For nearly coincident note-on the sequence does not matter, but note-off must be sent before a new note-on in strict order (could be the same note).