Put modern/main containers (mp4, mkv, webm) and codecs (av1, h264, vp9) before others, then a separator, and then alphabetically sorted "the rest" (which are either ancient, or somewhat niche options). Comparison images in the PR. Pull Request: https://projects.blender.org/blender/blender/pulls/118412