@s-libs/micro-dash
    Preparing search index...

    Function sortBy

    • Creates an array of elements, sorted in ascending order by the results of running each element in a collection thru each iteratee. This function performs a stable sort, that is, it preserves the original sort order of equal elements.

      Contribution to minified bundle size, when it is the only function imported:

      • Lodash: 18,547 bytes
      • Micro-dash: 682 bytes

      Type Parameters

      • T

      Parameters

      • collection: Nil | ObjectWith<T> | readonly T[]
      • iteratees: ValueIteratee<T, any> | ValueIteratee<T, any>[]

      Returns T[]