rem: msgFolders.sort(compareFolderSortOrder); 
add: msgFolders.sort(compareFolderSortKey); 
context: function GetSubFoldersInFolderPaneOrder(folder){  var subFolderEnumerator = folder.GetSubFolders();  var done = false;  var msgFolders = Array();  // get all the subfolders  while (!done) {    try {      var element = subFolderEnumerator.currentItem();      msgFolders[msgFolders.length] = element.QueryInterface(Components.interfaces.nsIMsgFolder);      subFolderEnumerator.next();    }    catch (ex) {      done = true;    }  }  // sort the subfolders  msgFolders.sort(compareFolderSortOrder);  return msgFolders;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/a5bb53fbf340a039327f6d674880b7c1a74c3991/msgViewNavigation.js/buggy/mailnews/base/resources/content/msgViewNavigation.js