Outliner's Sort Alphabetically does not sort renamed collections

In this example Collection 4.001 was renamed to Collection 3 yet it was not moved up automatically.

Screenshot from 2020-01-11 19-37-51 Screenshot from 2020-01-11 19-38-06

Is this by design or a bug?

Anything on this, anyone?