Index: modules/book/book.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/book/book.module,v
retrieving revision 1.467
diff -u -p -r1.467 book.module
--- modules/book/book.module	16 Jul 2008 21:59:26 -0000	1.467
+++ modules/book/book.module	17 Sep 2008 20:11:06 -0000
@@ -41,9 +41,9 @@ function book_theme() {
  */
 function book_perm() {
   return array(
-    'add content to books' => t('Add new content and child pages to books.'),
     'administer book outlines' => t('Manage books through the administration panel.'),
     'create new books' => t('Add new top-level books.'),
+    'add content to books' => t('Add new content and child pages to books.'),
     'access printer-friendly version' => t('View a book page and all of its sub-pages as a single document for ease of printing. Can be performance heavy.'),
   );
 }
Index: modules/comment/comment.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/comment/comment.module,v
retrieving revision 1.649
diff -u -p -r1.649 comment.module
--- modules/comment/comment.module	17 Sep 2008 07:11:56 -0000	1.649
+++ modules/comment/comment.module	17 Sep 2008 20:11:06 -0000
@@ -241,10 +241,10 @@ function comment_node_type($op, $info) {
  */
 function comment_perm() {
   return array(
+    'administer comments' => t('Manage and approve comments, and configure comment administration settings.'),
     'access comments' => t('View comments attached to content.'),
     'post comments' => t('Add comments to content (approval required).'),
     'post comments without approval' => t('Add comments to content (no approval required).'),
-    'administer comments' => t('Manage and approve comments, and configure comment administration settings.'),
   );
 }
 
Index: modules/contact/contact.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/contact/contact.module,v
retrieving revision 1.108
diff -u -p -r1.108 contact.module
--- modules/contact/contact.module	24 Jul 2008 16:25:17 -0000	1.108
+++ modules/contact/contact.module	17 Sep 2008 20:11:06 -0000
@@ -37,8 +37,8 @@ function contact_help($path, $arg) {
  */
 function contact_perm() {
   return array(
-    'access site-wide contact form' => t('Send feedback to administrators via e-mail using the site-wide contact form.'),
     'administer site-wide contact form' => t('Configure site-wide contact form administration settings.'),
+    'access site-wide contact form' => t('Send feedback to administrators via e-mail using the site-wide contact form.'),
   );
 }
 
Index: modules/node/node.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/node/node.module,v
retrieving revision 1.976
diff -u -p -r1.976 node.module
--- modules/node/node.module	17 Sep 2008 07:11:57 -0000	1.976
+++ modules/node/node.module	17 Sep 2008 20:15:14 -0000
@@ -2872,10 +2872,10 @@ function node_list_permissions($type) {
 
   // Build standard list of node permissions for this type.
   $perms["create $type content"] = t('Create new %type_name content.', array('%type_name' => $info->name));
-  $perms["delete any $type content"] = t('Delete any %type_name content, regardless of its author.', array('%type_name' => $info->name));
-  $perms["delete own $type content"] = t('Delete %type_name content created by the user.', array('%type_name' => $info->name));
   $perms["edit own $type content"] = t('Edit %type_name content created by the user.', array('%type_name' => $info->name));
   $perms["edit any $type content"] = t('Edit any %type_name content, regardless of its author.', array('%type_name' => $info->name));
+  $perms["delete own $type content"] = t('Delete %type_name content created by the user.', array('%type_name' => $info->name));
+  $perms["delete any $type content"] = t('Delete any %type_name content, regardless of its author.', array('%type_name' => $info->name));
 
   return $perms;
 }
Index: modules/path/path.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/path/path.module,v
retrieving revision 1.144
diff -u -p -r1.144 path.module
--- modules/path/path.module	21 Jun 2008 18:22:38 -0000	1.144
+++ modules/path/path.module	17 Sep 2008 20:11:06 -0000
@@ -204,8 +204,8 @@ function path_form_alter(&$form, $form_s
  */
 function path_perm() {
   return array(
-    'create url aliases' => t('Manage URL aliases on content.'),
     'administer url aliases' => t('Manage URL aliases across the entire website.'),
+    'create url aliases' => t('Manage URL aliases on content.'),
   );
 }
 
Index: modules/search/search.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/search/search.module,v
retrieving revision 1.265
diff -u -p -r1.265 search.module
--- modules/search/search.module	17 Sep 2008 07:11:57 -0000	1.265
+++ modules/search/search.module	17 Sep 2008 20:11:06 -0000
@@ -142,9 +142,9 @@ function search_theme() {
  */
 function search_perm() {
   return array(
+    'administer search' => t('Configure search administration settings.'),
     'search content' => t('Search website content.'),
     'use advanced search' => t('Limit search results with additional criteria, such as specific content types. Could have performance implications.'),
-    'administer search' => t('Configure search administration settings.'),
   );
 }
 
Index: modules/system/system.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/system/system.module,v
retrieving revision 1.621
diff -u -p -r1.621 system.module
--- modules/system/system.module	17 Sep 2008 07:11:58 -0000	1.621
+++ modules/system/system.module	17 Sep 2008 20:11:06 -0000
@@ -166,11 +166,11 @@ function system_theme() {
 function system_perm() {
   return array(
     'administer site configuration' => t('Configure site-wide settings such as module or theme administration settings.'),
-    'access administration pages' => t('View the administration panel and browse the help system.'),
     'administer actions' => t('Manage the actions defined for your site.'),
+    'administer files' => t('Manage user-uploaded files.'),
+    'access administration pages' => t('View the administration panel and browse the help system.'),
     'access site reports' => t('View reports from system logs and other status information.'),
     'select different theme' => t('Select a theme other than the default theme set by the site administrator.'),
-    'administer files' => t('Manage user-uploaded files.'),
     'block IP addresses' => t('Block IP addresses from accessing your site.'),
   );
 }
Index: modules/user/user.admin.inc
===================================================================
RCS file: /cvs/drupal/drupal/modules/user/user.admin.inc,v
retrieving revision 1.26
diff -u -p -r1.26 user.admin.inc
--- modules/user/user.admin.inc	17 Sep 2008 07:11:59 -0000	1.26
+++ modules/user/user.admin.inc	17 Sep 2008 20:11:06 -0000
@@ -515,7 +515,6 @@ function user_admin_perm($form_state, $r
       $form['permission'][] = array(
         '#markup' => $module,
       );
-      ksort($permissions);
       foreach ($permissions as $perm => $description) {
         // Account for permissions lacking a description.
         if (is_int($perm)) {
