Changes the order of the legend params to make them alike