Skip to content

Latest commit

 

History

History
43 lines (22 loc) · 723 Bytes

sortItemList.md

File metadata and controls

43 lines (22 loc) · 723 Bytes

quetch


quetch / sortItemList

Function: sortItemList()

sortItemList<T>(orderList, value, settings?): readonly T[]

Sorts provided value array according to the orderList.

Type Parameters

T

Parameters

orderList

undefined | readonly Order<T>[]

value

readonly T[]

The array to sort.

settings?

QuerySettings<T>

Optional query settings.

Returns

readonly T[]

A new sorted array.

Defined in

lib/tools/sortItemList.ts:16