As you can see, with the . localeCompare() method (and the numeric option) powering the sort operation, the embedded numbers are now treated as numbers .
As you can see, with the . localeCompare() method (and the numeric option) powering the sort operation, the embedded numbers are now treated as numbers .