indexing order of selected_track

Andrew Burgess's icon

what is the order of the indexing of id's returned by get selected_track?
it doesn't seem to follow the order of the tracks in the Live UI.

-a

broc's icon

As far as I know, there is no specific order of id numbers.