[dyn-config] Sort modes alphabetically when reading. JB#15436