Reorder legend.