Like those above, it should be in your plotting software. There are also should be sorting options you can set from the keypad on the cutter at least there are on the Graphtec models.
In Casmate (great grandfather to Flexi), it had an option to display a number on all the paths in a plot and...