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

Source menu should be ordered somehow #1536

Open
annamorphism opened this issue Jun 17, 2024 · 4 comments
Open

Source menu should be ordered somehow #1536

annamorphism opened this issue Jun 17, 2024 · 4 comments

Comments

@annamorphism
Copy link

The edit-sequence page allows the assignment of chants to a source in the database, but the dropdown is not in any kind of order, so it's hard to find the right one:
image

We don't really expect to have to do this after the Bower data is cleaned up, so it's not a priority, but it would make the cleaning up easier...

@dchiller
Copy link
Contributor

Agreed. I think this is something we will get to in the broader overhaul of segments and projects ... I'm not sure exactly how, but it will definitely be different/better than this.

@annamorphism
Copy link
Author

wait, they are ordered, just by the city, with special characters at the end of the alphabet (which happened to be where I looked first). So not quite as bad as I thought...
image

@ahankinson
Copy link
Member

ahankinson commented Jun 17, 2024

It’s quite obviously because Unicode code points for non-Latin characters are outside of the range 0-127 and thus their numeric value is higher, and OBVIOUSLY when sorting text you want to sort by the numerical code point and not by their lexical value.

Says every database ever.

This is computing law that was written in the 1960s when every character of storage cost the same as a new car, and must never be changed

(Yes, it’s dumb)

@annamorphism
Copy link
Author

(Yes, it’s dumb)

speaking from personal experience with lowercase "d" falling after uppercase Z...agreed.

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

No branches or pull requests

3 participants