• This function performs a quick sort of the x array while transforming the y array to preserve the coordinates.

    Parameters

    • data: DataXY<NumberArray>

      Object that contains property x (Array) and y (Array)

    Returns DataXY<Float64Array>