How would I get a group legend like this
Above the Board Statistics on my forum (that pic above is from a mybb forum)
You would install the plugin that's around here somewhere.
How do I change the order of the groups on the legend
First off, this forum isn't for plugin support.
Secondly, in the Global Templates, find the template, and you'll see a variable. Remove that and put your HTML in, only way to change the order.