rem:    var currCol = GetThreadOutliner().firstChild; while (currCol) { while (currCol && currCol.localName != "outlinercol") currCol = currCol.nextSibling; if (currCol && (currCol != sortedColumn)) { currCol.removeAttribute("sortDirection"); } if (currCol) currCol = currCol.nextSibling; } 
context: function UpdateSortIndicators(sortType, sortOrder){  var colID = ConvertSortTypeToColumnID(sortType);  var sortedColumn;  // set the sort indicator on the column we are sorted by  if (colID) {    sortedColumn = document.getElementById(colID);    if (sortedColumn) {      if (sortOrder == nsMsgViewSortOrder.ascending) {        sortedColumn.setAttribute("sortDirection","ascending");      }      else {        sortedColumn.setAttribute("sortDirection","descending");      }    }  }  // remove the sort indicator from all the columns  // except the one we are sorted by  var currCol = GetThreadOutliner().firstChild;  while (currCol) {    while (currCol && currCol.localName != "outlinercol")      currCol = currCol.nextSibling;    if (currCol && (currCol != sortedColumn)) {      currCol.removeAttribute("sortDirection");    }    if (currCol)       currCol = currCol.nextSibling;  }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/949278c0feae623ad87fbb837a26296fb734c13e/threadPane.js/clean/mailnews/base/resources/content/threadPane.js