Sort Values

mpco:sert()

Resorts the values, putting the x values in ascending order.

Note

The mpco object uses a binary search to locate the correct x value, and therefore the (x,y) points must be sorted after an update.