The jQuery num-sort plugin provides a custom sort function that allows you to sort an array of numbers correctly in in descending or ascending order.
let arrayNum = [-99, 1.10, 20.50, 3.60, 5.10, 0, 100];