private void sort(){
  if (!mSorted) {
    Collections.sort(mItems);
    mSorted=true;
  }
}

private void sort ( ) { if ( ! mSorted ) { Collections . sort ( mItems ) ; mSorted = true ; } }
verifies the list is sorted .
