public static int compare(Location a,Location b){
  return Integer.compare(ORDERED_ZONES.indexOf(a.uuid),ORDERED_ZONES.indexOf(b.uuid));
}

public static int compare ( Location a , Location b ) { return Integer . compare ( ORDERED_ZONES . indexOf ( a . uuid ) , ORDERED_ZONES . indexOf ( b . uuid ) ) ; }
compares two zones so that they sort in the order given in ordered_zones .
