0
1
Sort array in descending values
0 Comments
items = [1, 5, 4, 3]; const sortedArr = items.sort((a, b) => { return b - a; });