I\'m trying to sort an array of objects by their distancefromClient property. However, for some reason my sort algorithm does not work?
distancefromClient
console.log(e