If a lot of languages are available, you should additionally sort be their status and name to list the active ones first and then by name like the other language selector does in the background