思路一:使用arr.sort(fn)方法

function _sort(array) {
   return array.sort((a, b) => b - a)
}