TinySort
TinySort copied to clipboard
Sorting on Roman numerals
Hi, I have a question.
How can I sort the following list of Roman numerals?
https://jsfiddle.net/3r7vpd95/7/
You can convert those romans to integers, and use those integers to sort with tinysort. You can find some ways to convert from roman to integer here: https://stackoverflow.com/questions/49659711/roman-to-integer-in-js-why-it-only-convert-the-first-character