rem: var colID = ConvertSortTypeToColumnID(sortType); 
add: var colID = ConvertSortTypeToColumnID(gCurSortType); 
context: function CreateDBView(msgFolder, viewType, viewFlags, sortType, sortOrder){  // call the inner create method  CreateBareDBView(msgFolder, viewType, viewFlags, sortType, sortOrder);  // now do outliner specific work  // based on the collapsed state of the thread pane/message pane splitter,  // supress message display if appropriate.  var collapsed = IsThreadAndMessagePaneSplitterCollapsed();  if (collapsed)    gDBView.supressMsgDisplay = true;  else    gDBView.supressMsgDisplay = false;  var colID = ConvertSortTypeToColumnID(sortType);  if (colID) {    var column = document.getElementById(colID);    gDBView.sortedColumn = column;  }  ShowAppropriateColumns();  PersistViewAttributesOnFolder();}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/c2ebcb24dbdfbe29746cefcdeb69a92c33535f29/commandglue.js/buggy/mailnews/base/resources/content/commandglue.js