public void sort(Comparator<? super SubRange> comparator){
  Collections.sort(data,comparator);
}

public void sort ( Comparator < ? super SubRange > comparator ) { Collections . sort ( data , comparator ) ; }
sort aggregated sub ranges with providen comparator
