Yeah, it's in Toggles. "Sort Flag List by Flag Number".

If you want to grab a specific numbered flag though for script purposes or etc (say you need flag 99 specifically), typing the flag number into the search bar regardless of the above setting will take you to that flag.