Index: includes/install.core.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/install.core.inc,v
retrieving revision 1.41
diff -u -p -r1.41 install.core.inc
--- includes/install.core.inc	5 Nov 2010 20:53:38 -0000	1.41
+++ includes/install.core.inc	9 Nov 2010 16:49:46 -0000
@@ -1286,20 +1286,25 @@ pt-br.po
 function install_select_locale_form($form, &$form_state, $locales, $profilename) {
   include_once DRUPAL_ROOT . '/includes/iso.inc';
   $languages = _locale_get_predefined_list();
+  $options = array();
   foreach ($locales as $locale) {
     // Try to use verbose locale name.
     $name = $locale->name;
     if (isset($languages[$name])) {
       $name = $languages[$name][0] . (isset($languages[$name][1]) ? ' ' . st('(@language)', array('@language' => $languages[$name][1])) : '');
     }
-    $form['locale'][$locale->name] = array(
-      '#type' => 'radio',
-      '#return_value' => $locale->name,
-      '#default_value' => $locale->name == 'en' ? 'en' : '',
-      '#title' => $name . ($locale->name == 'en' ? ' ' . st('(built-in)') : ''),
-      '#parents' => array('locale')
-    );
+    if ($locale->name == 'en') {
+      $name .= ' ' . st('(built-in)');
+    }
+    $options[$locale->name] = $name;
+
   }
+  sort($options);
+  $form['locale'] = array(
+    '#type' => 'radios',
+    '#options' => $options,
+    '#default_value' => 'en',
+  );
   if (count($locales) == 1) {
     $form['help'] = array(
       '#markup' => '<p><a href="install.php?profile=' . $profilename . '&amp;localize=true">' . st('Learn how to install Drupal in other languages') . '</a></p>',
