sort.Sort here needs a Less method with total ordering defined.