In the Diaspora app, the list of available languages is sorted by language name. On the project website, they are sorted by ISO code. These two lists should ideally be sorted in the same way.
Neither is ideal at the moment. In my opinion, the ideal would be alphabetically by language, but case-insensitive and ignoring diacriticals (so that, for instance, polski will appear between Occitan and Português (Brasil); and Čeština will appear between Català and Cymraeg).
This means that, as far as possible, a user will be able to find their language by its native name in alphabetical order. A user who speaks Magyar shouldn’t have to look under H to find their language. (I know that some languages that use the Latin alphabet do sort some letters in the alphabet into a different order from English, but I’m not sure whether that would affect any of the languages we use.)
I can’t see a way to integrate names in non-Roman script into the list alphabetically, so they will probably have to remain at the foot of the list.
Any ideas on how to implement this? Or opinions that my suggestion is not the best one?