How can I check if an array of numbers e.g
const number = ['15','14','11','5'] is sorted from high to low in js note: array could also be in invalid order