@Pure public static <T extends Comparable<? super T>>IPersistentVector<T> sort(IPersistentVector<T> list){
  ITransientVector<T> tv=list.asTransient();
  Collections.sort(tv);
  return tv.persistent();
}

@ Pure public static < T extends Comparable < ? super T > > IPersistentVector < T > sort ( IPersistentVector < T > list ) { ITransientVector < T > tv = list . asTransient ( ) ; Collections . sort ( tv ) ; return tv . persistent ( ) ; }
provides a pure implementation for sorting
