How to get the biggest value like nth function, but that returns the label and the value?