Last updated 2 years ago
[data/array/Sorter]
Sorts an array according to the specified reference array (params["order"]).
params
array: any[]
any[]
params: {"order": any[], optional "direction": (1 or -1)}
{"order": any[], optional "direction": (1 or -1)}
sorted: any[]