[#24] Fix sorting when some of the values isn't a number