you should check what’s in lowToHigh with
lowToHigh
console.log(JSON.stringify(lowToHigh))
then read this post on the array sort function
sort