XF 1.2 Staff Stacking Order

The default way that the staff online works in the seidebar seems to be by default oldest member on top then the next oldest ones in descending order. Ideally I'd like to be able to customize that but I would settle for a chain of command structure where admins are on top, then global mods, then forum mods. How to do this?