• Order object of array, x has to be monotone. Ensure x is growing

    Parameters

    • data: DataXY<NumberArray>

      Object of kind {x:[], y:[]}.

    Returns DataXY