sort bot names in legend by the number of edits they have done