src/main/java/sc/fiji/pQCT/utils/ClusterPoints.java
@Override
		public int compareTo(Distance a) {
			if (this.distance == a.distance) {
				return 0;	//Return 0 for ties
			} 
			return this.distance < a.distance ? -1 : 1; //Return -1 if this is smaller than a
		}
//Implement comparable to enable sorting distances
Implement comparable to enable sorting distances
Implement comparable to enable sorting distances
@Override
		public int compareTo(Distance a) {
			if (this.distance == a.distance) {
				return 0;	
			} 
			return this.distance < a.distance ? -1 : 1; 
		}
@ Override public int compareTo ( Distance a ) { if ( this . distance == a . distance ) { return 0 ; } return this . distance < a . distance ? - 1 : 1 ; }
Implement comparable to enable sorting distances
Implement comparable to enable sorting distances
//Return 0 for ties //Return -1 if this is smaller than a