Sort the Icons extraction on machine name

Created on 4 September 2025, 2 days ago

Problem/Motivation

When using the UI Icons module, that uses the Icon API, to have icon packs on your website, the extractors don't sort the icons. So the icons are in random order. This doesn't seem like a good user experience.

Unsorted icons:

Sorted icons:

Steps to reproduce

  • Install UI Icons
  • Add an Icon pack like Bootstrap
  • Go to en/admin/appearance/ui/icons/{pack}
  • See the unsorted list

Proposed resolution

Sort the icons on machine name from the files.

Remaining tasks

Create MR
Review MR

User interface changes

The Icons will be sorted.

Introduced terminology

None.

API changes

The icons will be sorted by machine name.

Data model changes

None.

Release notes snippet

Sort the icons on machine name in the Icons API.

✨ Feature request
Status

Active

Version

11.2 πŸ”₯

Component

other

Created by

πŸ‡§πŸ‡ͺBelgium tim-diels Belgium πŸ‡§πŸ‡ͺ

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024