I have noticed, the web API's do not get ordered in any specific order (or at least by API name) in the help page. I would like to order by name category if possible. Unable to use OrderBy on ToLookup very well. Here is the code it comes with by default:
@{
// Group APIs by controller
ILookup<string, ApiDescription> apiGroups = Model.ToLookup(api => api.ActionDescriptor.ControllerDescriptor.ControllerName);
}
<div>
<section>
@foreach (var group in apiGroups)
{
@Html.DisplayFor(m => group, "ApiGroup")
}
</section>
</div>