Add an ordering_attribute to optionally override sorting_attribute.