references.md sort #233

Merged
vitaly-zdanevich merged 3 commits from master into master 2024-04-11 19:46:27 +00:00
vitaly-zdanevich commented 2024-04-09 13:15:27 +00:00 (Migrated from github.com)

Because looks like mostly it was already sorted.

Because looks like mostly it was already sorted.
biodranik (Migrated from github.com) reviewed 2024-04-09 21:10:48 +00:00
biodranik (Migrated from github.com) commented 2024-04-09 21:10:48 +00:00

Let's apply collation sorting here, it is more natural for humans. This page is for humans )

Let's apply collation sorting here, it is more natural for humans. This page is for humans )
vitaly-zdanevich (Migrated from github.com) reviewed 2024-04-10 12:44:28 +00:00
vitaly-zdanevich (Migrated from github.com) commented 2024-04-10 12:44:28 +00:00

What is collation sorting?

What is collation sorting?
biodranik (Migrated from github.com) reviewed 2024-04-10 16:37:41 +00:00
biodranik (Migrated from github.com) commented 2024-04-10 16:37:40 +00:00
https://learn.microsoft.com/en-us/globalization/locale/sorting-and-string-comparison
vitaly-zdanevich (Migrated from github.com) reviewed 2024-04-10 17:30:28 +00:00
vitaly-zdanevich (Migrated from github.com) commented 2024-04-10 17:30:28 +00:00

How to do that?

How to do that?
vitaly-zdanevich (Migrated from github.com) reviewed 2024-04-10 17:31:54 +00:00
vitaly-zdanevich (Migrated from github.com) commented 2024-04-10 17:31:53 +00:00

But it already collation sorted?

But it already collation sorted?
biodranik (Migrated from github.com) reviewed 2024-04-10 17:57:02 +00:00
biodranik (Migrated from github.com) commented 2024-04-10 17:57:02 +00:00

https://icu4c-demos.unicode.org/icu-bin/collation.html
(select alternate -> shifted to change order with underscores)

[appgallery]: https://appgallery.huawei.com/#/app/C104325611?local={{ lang }} "{{ trans(key='install-appgallery', lang=lang) }}"
[appgallery_review]: appmarket://details?id=app.organicmaps
[appstore]: https://apps.apple.com/app/organic-maps/id1567437057 "{{ trans(key='install-appstore', lang=lang) }}"
[appstore_review]: https://itunes.apple.com/app/id1567437057?action=write-review
[contributing]: https://github.com/organicmaps/organicmaps/blob/master/docs/CONTRIBUTING.md
[email]: mailto:support@organicmaps.app
[exodus]: https://reports.exodus-privacy.eu.org/en/reports/app.organicmaps/latest/
[facebook]: https://facebook.com/OrganicMaps
[fdroid]: https://f-droid.org/{{ lang | truncate(length=2, end="") }}/packages/app.organicmaps/ "{{ trans(key='install-fdroid', lang=lang) }}"
[firebase]: https://appdistribution.firebase.dev/i/2f0fee463107b137
[flatpak]: https://flathub.org/apps/details/app.organicmaps.desktop
[FOSStodon]: https://fosstodon.org/@organicmaps "FOSStodon"
[github]: https://github.com/organicmaps/organicmaps
[github issues]: https://github.com/organicmaps/organicmaps/issues "GitHub Issues"
[googleplay]: https://play.google.com/store/apps/details?id=app.organicmaps&hl={{ lang }} "{{ trans(key='install-googleplay', lang=lang) }}"
[googleplay_review]: market://details?id=app.organicmaps
[gpx_issue]: https://git.omaps.dev/organicmaps/organicmaps/issues/624
[ideas]: https://github.com/organicmaps/organicmaps/discussions/categories/ideas
[instagram]: https://instagram.com/organicmaps.app/
[issues]: https://github.com/organicmaps/organicmaps/issues
[LinkedIn]: https://www.linkedin.com/company/organic-maps/
[mapswithme]: https://en.wikipedia.org/wiki/Maps.me "Maps.Me"
[mastodon]: https://mastodon.social/@organicmaps "Mastodon"
[matrix]: https://matrix.to/#/#organicmaps:matrix.org "Organic Maps on the Matrix"
[matrix_ru]: https://matrix.to/#/#organicmapsru:matrix.org "Organic Maps в Matrix"
[mythic_beasts_donation]: https://www.mythic-beasts.com/blog/2021/10/06/improving-the-world-bit-by-expensive-bit/
[mythic_beasts]: https://www.mythic-beasts.com/
[openstreetmap]: https://www.openstreetmap.org/about "OpenStreetMap"
[public_transport_validator]: https://cdn.organicmaps.app/subway/
[reddit]: https://www.reddit.com/r/organicmaps/
[repology]: https://repology.org/project/organicmaps/versions
[stripe_chf]: https://donate.organicmaps.app/?currency=chf "Donate in CHF"
[stripe_eur]: https://donate.organicmaps.app/?currency=eur "Donate in EUR"
[stripe_gbp]: https://donate.organicmaps.app/?currency=gbp "Donate in GBP"
[stripe]: https://donate.organicmaps.app/ "Donate"
[stripe_pln]: https://donate.organicmaps.app/?currency=pln "Przekaż złotówki"
[stripe_uah]: https://donate.organicmaps.app/?currency=uah "Пожертвуйте в гривнях"
[stripe_usd]: https://donate.organicmaps.app/?currency=usd "Donate in USD"
[telegram_chat]: https://t.me/OrganicMaps
[telegram_chat_ru]: https://t.me/OrganicMapsRu
[telegram]: https://t.me/OrganicMapsApp
[testflight]: https://testflight.apple.com/join/lrKCl08I
[trackercontrol]: https://ios.trackercontrol.org/analysis/app.organicmaps
[translations_appstore]: https://hosted.weblate.org/projects/organicmaps/apple-appstore-metadata/
[translations_googleplay]: https://hosted.weblate.org/projects/organicmaps/fdroid-metadata/
[translations]: https://github.com/organicmaps/organicmaps/blob/master/docs/TRANSLATIONS.md
[translations_website]: https://hosted.weblate.org/projects/organicmaps/website/
[twitter]: https://twitter.com/OrganicMapsApp

https://icu4c-demos.unicode.org/icu-bin/collation.html (select alternate -> shifted to change order with underscores) ``` [appgallery]: https://appgallery.huawei.com/#/app/C104325611?local={{ lang }} "{{ trans(key='install-appgallery', lang=lang) }}" [appgallery_review]: appmarket://details?id=app.organicmaps [appstore]: https://apps.apple.com/app/organic-maps/id1567437057 "{{ trans(key='install-appstore', lang=lang) }}" [appstore_review]: https://itunes.apple.com/app/id1567437057?action=write-review [contributing]: https://github.com/organicmaps/organicmaps/blob/master/docs/CONTRIBUTING.md [email]: mailto:support@organicmaps.app [exodus]: https://reports.exodus-privacy.eu.org/en/reports/app.organicmaps/latest/ [facebook]: https://facebook.com/OrganicMaps [fdroid]: https://f-droid.org/{{ lang | truncate(length=2, end="") }}/packages/app.organicmaps/ "{{ trans(key='install-fdroid', lang=lang) }}" [firebase]: https://appdistribution.firebase.dev/i/2f0fee463107b137 [flatpak]: https://flathub.org/apps/details/app.organicmaps.desktop [FOSStodon]: https://fosstodon.org/@organicmaps "FOSStodon" [github]: https://github.com/organicmaps/organicmaps [github issues]: https://github.com/organicmaps/organicmaps/issues "GitHub Issues" [googleplay]: https://play.google.com/store/apps/details?id=app.organicmaps&hl={{ lang }} "{{ trans(key='install-googleplay', lang=lang) }}" [googleplay_review]: market://details?id=app.organicmaps [gpx_issue]: https://git.omaps.dev/organicmaps/organicmaps/issues/624 [ideas]: https://github.com/organicmaps/organicmaps/discussions/categories/ideas [instagram]: https://instagram.com/organicmaps.app/ [issues]: https://github.com/organicmaps/organicmaps/issues [LinkedIn]: https://www.linkedin.com/company/organic-maps/ [mapswithme]: https://en.wikipedia.org/wiki/Maps.me "Maps.Me" [mastodon]: https://mastodon.social/@organicmaps "Mastodon" [matrix]: https://matrix.to/#/#organicmaps:matrix.org "Organic Maps on the Matrix" [matrix_ru]: https://matrix.to/#/#organicmapsru:matrix.org "Organic Maps в Matrix" [mythic_beasts_donation]: https://www.mythic-beasts.com/blog/2021/10/06/improving-the-world-bit-by-expensive-bit/ [mythic_beasts]: https://www.mythic-beasts.com/ [openstreetmap]: https://www.openstreetmap.org/about "OpenStreetMap" [public_transport_validator]: https://cdn.organicmaps.app/subway/ [reddit]: https://www.reddit.com/r/organicmaps/ [repology]: https://repology.org/project/organicmaps/versions [stripe_chf]: https://donate.organicmaps.app/?currency=chf "Donate in CHF" [stripe_eur]: https://donate.organicmaps.app/?currency=eur "Donate in EUR" [stripe_gbp]: https://donate.organicmaps.app/?currency=gbp "Donate in GBP" [stripe]: https://donate.organicmaps.app/ "Donate" [stripe_pln]: https://donate.organicmaps.app/?currency=pln "Przekaż złotówki" [stripe_uah]: https://donate.organicmaps.app/?currency=uah "Пожертвуйте в гривнях" [stripe_usd]: https://donate.organicmaps.app/?currency=usd "Donate in USD" [telegram_chat]: https://t.me/OrganicMaps [telegram_chat_ru]: https://t.me/OrganicMapsRu [telegram]: https://t.me/OrganicMapsApp [testflight]: https://testflight.apple.com/join/lrKCl08I [trackercontrol]: https://ios.trackercontrol.org/analysis/app.organicmaps [translations_appstore]: https://hosted.weblate.org/projects/organicmaps/apple-appstore-metadata/ [translations_googleplay]: https://hosted.weblate.org/projects/organicmaps/fdroid-metadata/ [translations]: https://github.com/organicmaps/organicmaps/blob/master/docs/TRANSLATIONS.md [translations_website]: https://hosted.weblate.org/projects/organicmaps/website/ [twitter]: https://twitter.com/OrganicMapsApp ```
vitaly-zdanevich (Migrated from github.com) reviewed 2024-04-11 09:28:45 +00:00
vitaly-zdanevich (Migrated from github.com) commented 2024-04-11 09:28:45 +00:00

image

![image](https://github.com/organicmaps/organicmaps.github.io/assets/3514015/fb545704-51b2-466c-8c87-7da58dc2c0f5)
vitaly-zdanevich (Migrated from github.com) reviewed 2024-04-11 09:31:54 +00:00
vitaly-zdanevich (Migrated from github.com) commented 2024-04-11 09:31:53 +00:00

@biodranik your collation sorting - but strange that [stripe] is in the middle

@biodranik your collation sorting - but strange that [stripe] is in the middle
biodranik (Migrated from github.com) reviewed 2024-04-11 09:40:58 +00:00
biodranik (Migrated from github.com) commented 2024-04-11 09:40:58 +00:00

That looks like a bug in their algo/implementation.

That looks like a bug in their algo/implementation.
biodranik (Migrated from github.com) reviewed 2024-04-11 09:42:18 +00:00
biodranik (Migrated from github.com) commented 2024-04-11 09:42:02 +00:00

For consistency, a shorter string should be at the top, not at the bottom (see other examples in this file).

For consistency, a shorter string should be at the top, not at the bottom (see other examples in this file).
biodranik (Migrated from github.com) commented 2024-04-11 09:42:09 +00:00

ditto

ditto
biodranik (Migrated from github.com) commented 2024-04-11 09:42:16 +00:00

ditto

ditto
biodranik (Migrated from github.com) approved these changes 2024-04-11 19:46:11 +00:00
biodranik (Migrated from github.com) left a comment

Thanks!

Thanks!
Sign in to join this conversation.
No description provided.