I suggest ordering by badge colour first. Not just ordering, but I think it would also be better to have some sort of separator between the groups of gold, silver and bronze badges.
Otherwise important badges will get diluted in the flood on minor badges.
Can you spot the Legendary badge in here?
