sorted

fun <V : Comparable<V>> Buffer<V>.sorted(): Buffer<V>

Create a zero-copy virtual buffer that contains the same elements but in ascending order

Sources

Link copied to clipboard