How to change track IDs?

Good morning.
While creating an MKV file, I realized with Mediainfo that the order of theIDs related to the vare tracks is wrong.
I ask how can I correct to restore the correct sequence of the IDs.
Thank you