This command sorts the selected tracks, or all tracks if none are selected. The command displays a dialog which allows you to specify up to three sort levels. Each sort level consists of a track property and a direction (ascending or descending). To disable a sort level, set its property to none.
It's also possible to sort by ID. This puts the tracks in the order they were in when the document was opened. Any tracks added since then appear in the order they were added.
Sorting tracks may have unintended effects, for example scale and chord modulators are potentially sensitive to track order.