rem: break; case "day": sortKey = "rdf:http: sortDirection = "natural"; 
context: function SortBy(sortKey){  // XXXBlake Welcome to the end of the world of Lame.  // You can go no further. You are standing on the edge -- teetering, even.  // Look on the bright side: you can rest assured that no code you see in the future  // will even come close to the lameness of the code below.  var sortDirection;  switch(sortKey) {    case "visited":      sortKey = "rdf:http://home.netscape.com/NC-rdf#VisitCount";      sortDirection = "ascending";      break;    case "name":      sortKey = "rdf:http://home.netscape.com/NC-rdf#Name";      sortDirection = "natural";      break;    case "lastvisited":      sortKey = "rdf:http://home.netscape.com/NC-rdf#Date";      sortDirection = "ascending";      break;    case "day":      sortKey = "rdf:http://home.netscape.com/NC-rdf#DayFolderIndex";      sortDirection = "natural";      break;    default:      return;      }  var col = document.getElementById("Name");  col.setAttribute("sort", sortKey);  col.setAttribute("sortDirection", sortDirection);  gHistoryTree.treeBoxObject.view.cycleHeader(sortKey, col);}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/0061b8bf8db8649f3565aa060914581a0a1cdb88/history.js/buggy/browser/components/history/content/history.js