code: public int compareTo(Object o) {
      FileStatus other = (FileStatus)o;
      return this.getPath().compareTo(other.getPath());
    }
docs: Compare this object to another object
  
  @param   o the object to be compared.
  @return  a negative integer, zero, or a positive integer as this object
  is less than, equal to, or greater than the specified object.
  
  @throws ClassCastException if the specified object's is not of
  type FileStatus