docs: function exportSort(feed,sort,sortName) {
  	var s = '/**\n';
  	s += '* '+sort.title+'\n';
  	s += '* note that this sort has no sort-direction\n';
  	if (sort.href) {
  		s += '* ' +sort.href+'\n';
  		if (!checkHref(sort.href,sort.name)) {
  			console.log('! sort '+sortName+'('+sort.name+') does not exist in');
  			console.log('  '+sort.href);
  		}
  	}
  	if (sort.depends_on) {
  		s += '* depends_on = '+sort.depends_on+'\n';
  	}
  	if (sort.prohibits) {
  		s += prohibits(sort.prohibits);
  	}
  	s += '*/\n';
  	fs.appendFileSync(apijs, s+'const '+sortName+" = 'sort="+sort.name+"';\n", 'utf8');
  	cache.push(sortName+' : '+sortName+',\n');
  	return s;
  }