MCPcopy Create free account
hub / github.com/devin87/Q.js / sortList

Function sortList

node/Q.js:564–571  ·  view source on GitHub ↗

* 对象数组排序 * @param {Array. } list 对象数组 * @param {number} type 排序类型 0:字符串排序|1:数字排序|2:日期排序|3:IP排序 * @param {string} prop 用于排序的属性 * @param {boolean} desc 是否倒序,默认为false

(list, type, prop, desc)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

sortNumberFunction · 0.70
sortDateFunction · 0.70
sortIPFunction · 0.70
sortStringFunction · 0.70

Tested by

no test coverage detected