rem: return compareSortOrder(a,b, gAccountManagerDataSource); 
add: var sortValue1, sortValue2;  try { var res1 = RDF.GetResource(server1.URI); sortValue1 = gAccountManagerDataSource.GetTarget(res1, gNameProperty, true).QueryInterface(Components.interfaces.nsIRDFLiteral).Value; } catch (ex) { dump("XXX ex " + server1.URI + "," + ex + "\n"); sortValue1 = ""; }  try { var res2 = RDF.GetResource(server2.URI); sortValue2 = gAccountManagerDataSource.GetTarget(res2, gNameProperty, true).QueryInterface(Components.interfaces.nsIRDFLiteral).Value; } catch (ex) { dump("XXX ex " + server2.URI + "," + ex + "\n"); sortValue2 = ""; }  if (sortValue1 < sortValue2) return -1; else if (sortValue1 > sortValue2) return 1; else return 0; 
context: function compareServerSortOrder(a,b){  return compareSortOrder(a,b, gAccountManagerDataSource);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/a5bb53fbf340a039327f6d674880b7c1a74c3991/msgViewNavigation.js/buggy/mailnews/base/resources/content/msgViewNavigation.js