/**
* Sort the elements of an array in increasing order.
*
* @tsplus static Chunk.Aspects sort
* @tsplus pipeable Chunk sort
*/
export function sort(O: Ord) {
return (self: Chunk): Chunk => Chunk.from(Array.from(self).sort((x, y) => O.compare(x, y)))
}