Index: branches/RC/core/units/languages/languages_config.php =================================================================== diff -u -N -r10974 -r10986 --- branches/RC/core/units/languages/languages_config.php (.../languages_config.php) (revision 10974) +++ branches/RC/core/units/languages/languages_config.php (.../languages_config.php) (revision 10986) @@ -162,7 +162,7 @@ 'FilenameReplacements' => Array('type' => 'string'), 'Locale' => Array('type' => 'string','not_null' => 1, 'default' => 'en-US', 'formatter' => 'kOptionsFormatter', 'options' => Array('' => ''), - 'options_sql' => "SELECT CONCAT(LocaleName, ' ' ,'\/',Locale,'\/') AS name, Locale FROM ".TABLE_PREFIX."LocalesList ORDER BY id", 'option_title_field' => "name", 'option_key_field' => 'Locale', + 'options_sql' => "SELECT CONCAT(LocaleName, ' ' ,'\/',Locale,'\/') AS name, Locale FROM ".TABLE_PREFIX."LocalesList ORDER BY LocaleId", 'option_title_field' => "name", 'option_key_field' => 'Locale', ), ),