docs: function processSort(feed,sort,sortName) {
  	if (warnReleaseStatus(sort.release_status)) {
  		console.log('Warning: sort '+sortName+' is '+sort.release_status+deprecationInfo(feed,sort.name,'sort',sort.deprecated_since));
  	}
  	swagSort(sort);
  	if (sort.sort_direction) {
  		sort.sort_direction = toArray(sort.sort_direction);
  		for (var i in sort.sort_direction) {
  			var sortDirection = sort.sort_direction[i];
  			var sortDirectionName = ('s-'+feed.name+'-'+sort.name+'-'+sortDirection.value).toCamelCase();
  			if (seen.indexOf(sortDirectionName)<0) {
  				processSortDirection(feed,sort,sortDirection,sortDirectionName);
  				seen.push(sortDirectionName);
  			}
  			else {
  				console.log('* Skipping sort '+sortDirectionName+' as duplicate name');
  			}
  		}
  	}
  	else {
  		if (seen.indexOf(sortName)<0) {
  			exportSort(feed,sort,sortName);
  			seen.push(sortName);
  		}
  		else {
  			console.log('* Skipping sort '+sortName+' as duplicate name');
  		}
  	}
  }