docs: function swagSort(sort) {
  
  	// TODO unstable sorts
  
  	var param = {};
  	for (var p in params) {
  		if (params[p].name == 'sort') {
  			param = params[p];
  		}
  	}
  	if (!param.name) {
  		param.name = 'sort';
  		param.in = 'query';
  		param.description = 'Sorts:\n';
  		param.schema = {};
  		param.schema.type = 'string';
  		param.required = false;
  		param.schema.enum = [];
  		params.push(param);
  	}
  	param.schema.enum.push(sort.name);
  	param.description += '* '+sort.name+': '+sort.title+'\n';
  }