• Sort object of array, x has to be monotone.

    Type Parameters

    • ArrayType extends DoubleArray = DoubleArray

    Parameters

    • data: DataXReIm<ArrayType>

      object of kind {x:[], re:[], im:[]}

    Returns DataXReIm<ArrayType>

    • sorted array