Allows to sort on a field