code: public static <T extends Extendable> List<T> sort(final List<T> values, final Sort sort, final boolean ascending) {
          final SortableList<T> list = getSortableList(values);
          list.sortOnProperty(sort, ascending, new SortStrategy());
          return list;
      }
docs: Sorts a list of values based on a given sort field using a selection sort.
  
  @param values List of values (implements Extendable) to sort.
  @param sort The sort field to sort on.
  @param ascending Sort ascending/descending.
  @return Sorted list of values