code: public static <T, L extends List<T>> L sortThis(L list, final Predicate2<? super T, ? super T> predicate)
      {
          return Iterate.sortThis(list, new Comparator<T>()
          {
              public int compare(T o1, T o2)
              {
                  if (predicate.accept(o1, o2))
                  {
                      return -1;
                  }
                  if (predicate.accept(o2, o1))
                  {
                      return 1;
                  }
                  return 0;
              }
          });
      }
docs: SortThis is a mutating method.  The List passed in is also returned.