JavaScript Array Sort Reverse

The reverse() method reverses the elements in an array.

By combining sort() and reverse() you can sort an array in descending order.