reorder legend ##