Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sorting on Roman numerals #158

Open
EinfachAleks opened this issue Apr 29, 2019 · 1 comment
Open

Sorting on Roman numerals #158

EinfachAleks opened this issue Apr 29, 2019 · 1 comment

Comments

@EinfachAleks
Copy link

Hi,
I have a question.

How can I sort the following list of Roman numerals?

https://jsfiddle.net/3r7vpd95/7/

@yor-so
Copy link

yor-so commented Mar 10, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants