* 根据传入堆的类型来返回排序数组 * 大顶堆对应从大到小 * 小顶堆对应从小到大 * * @param {number[]} array * @param {string} type
(array, type)
source not stored for this graph (policy: none)
nothing calls this directly
no test coverage detected