Sorting Categories by Name

It works here as long as the item above is a parent category. It fails when the item above is a subcategory.

Is there an official way I can add a test that shows the problem (or not) … do the UI tests use Puppeteer or something similar?