@vsokolov/utils - v0.32.0
    Preparing search index...

    Function sortAsc

    • Sort array of objects in ascending order by 'key' property

      Type Parameters

      • T extends { key: string | number }

      Parameters

      • array: readonly T[]

        Array of objects to sort

      Returns readonly T[]

      Sorted array of objects