class DoubleArrayMath {

  public static void sortPairs(double[] keys, double[] values) {
    int len1 = keys.length;
    if (len1 != values.length) {
      throw new IllegalArgumentException("Arrays cannot be sorted as they differ in length");
    }
    dualArrayQuickSort(keys, values, 0, len1 - 1);
  }

  private  DoubleArrayMath();

}