public void sort(Comparator<? super LogLine> comparator){
  this.mComparator=comparator;
  Collections.sort(mObjects,comparator);
  if (mNotifyOnChange)   notifyDataSetChanged();
}

public void sort ( Comparator < ? super LogLine > comparator ) { this . mComparator = comparator ; Collections . sort ( mObjects , comparator ) ; if ( mNotifyOnChange ) notifyDataSetChanged ( ) ; }
sorts the content of this adapter using the specified comparator .
