Can specify field or lambda to sort on