QSort

Name

QSort --  A class to sort a collection.

Description

QSort is simply a "wrapper" for the C native "qsort" function, as applied to a Swarm collection. The values will appear in ascending order by default. Reversing the order of a collection can be made by calling reverseOrderOf. All these methods modify the underlying collection, so any indexes should always be regenerated.

Protocols adopted by QSort

SwarmObject CREATABLE

Methods

Phase: Using