Sorting a small array?

You just can just make a function that finds the lowest tag

( It’s less messy if you give the BPs and integer ID. Then at least it is an integer )

Then you can just keep finding the lowest