ml-spectra-processing
    Preparing search index...

    Function xGetSortOrder

    • Returns the indices that order the values, without moving them. The sort is a radix sort over the full 64 bits of each double: it costs a fixed number of linear passes instead of the n log n comparisons of Array.prototype.sort, and orders exactly, NaN, infinities, subnormals and the two zeros included. The sort is stable, so equal values keep their input order.

      Parameters

      Returns Uint32Array

      the indices of the values, in order.