add: case nsMsgViewSortType.byAttachments: columnID = "attachmentCol"; break; 
context: function ConvertSortTypeToColumnID(sortKey){  var columnID;  // hack to turn this into an integer, if it was a string  // it would be a string if it came from localStore.rdf  sortKey = sortKey - 0;  switch (sortKey) {    case nsMsgViewSortType.byDate:      columnID = "dateCol";      break;    case nsMsgViewSortType.byAuthor:      columnID = "senderCol";      break;    case nsMsgViewSortType.byRecipient:      columnID = "recipientCol";      break;    case nsMsgViewSortType.bySubject:      columnID = "subjectCol";      break;    case nsMsgViewSortType.byLocation:      columnID = "locationCol";      break;    case nsMsgViewSortType.byAccount:      columnID = "accountCol";      break;    case nsMsgViewSortType.byUnread:      columnID = "unreadButtonColHeader";      break;    case nsMsgViewSortType.byStatus:      columnID = "statusCol";      break;    case nsMsgViewSortType.byLabel:      columnID = "labelCol";      break;    case nsMsgViewSortType.bySize:      columnID = "sizeCol";      break;    case nsMsgViewSortType.byPriority:      columnID = "priorityCol";      break;    case nsMsgViewSortType.byFlagged:      columnID = "flaggedCol";      break;    case nsMsgViewSortType.byThread:      columnID = "threadCol";      break;    case nsMsgViewSortType.byId:      columnID = "idCol";      break;    case nsMsgViewSortType.byJunkStatus:      columnID = "junkStatusCol";      break;    default:      dump("unsupported sort key: " + sortKey + "\n");      columnID = null;      break;  }  return columnID;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/f7cb6ff817adc467cd7c4bb0005357f8afa390f0/commandglue.js/clean/mailnews/base/resources/content/commandglue.js