Sort actors in an array by an internal variable?

You might be able to use something like this:

349581-codescreenshot.png