zlatinb / muwire

MuWire file sharing client for I2P
GNU General Public License v3.0
191 stars 27 forks source link

Contacts and Subscriptions sorting: name sort groups by capitalization #140

Closed Searinox closed 2 years ago

Searinox commented 2 years ago

Sorting in the Contacts and Subscription lists first sorts all names starting with capital letters then followed by all names with lowercase.

zlatinb commented 2 years ago

I need to go through all the places where strings are being sorted and make sure the sorting behavior is consistent. It will likely take some time...

Searinox commented 2 years ago

Could help if you make the sorting policy some static shared object and pass it to all instances of sorting.

zlatinb commented 2 years ago

I haven't gone through every place a string gets sorted, but for places where names get sorted the commit referenced above should be sufficient. Pls grab a CI build and if you're satisfied close the issue.

Searinox commented 2 years ago

Okay, it's also working in the search tab. All good.