While working on other ticket I came across this one:Select to sort
(I couldn't get a printscreen of this select expanded, but it's not sorted alphabetically right now.) This does confuse a little bit, and the confusion grows proportionally to the entity types defined in the drupal instance.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

bucefal91 created an issue. See original summary.

bucefal91’s picture

Status: Active » Needs review
FileSize
786 bytes

I did a quick research on what's the best way to sort array of multi-language strings (in case the current language is not English but something else). Drupal core sorts config entities based on strnatcasecmp (prooflink: https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Config!Entity!Con...). So I decided to follow the pattern.

jrockowitz’s picture

Status: Needs review » Reviewed & tested by the community

  • bucefal91 committed 501009f on 8.x-5.x
    Issue #2947086 by jrockowitz, bucefal91: Sorting alphabetically source...
bucefal91’s picture

Status: Reviewed & tested by the community » Fixed

thanks for reviewing!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.