@Override public int compareTo(final DataRow other){
  return mean.compareTo(other.mean);
}

@ Override public int compareTo ( final DataRow other ) { return mean . compareTo ( other . mean ) ; }
compare two data rows .
