optionally ensure MustacheApi list is sorted

MustacheDocument's `List<MustacheApi>` isn't sorted, which means that identical builds don't always yield identical documentation. This PR ensures that the list of APIs is sorted.

@kongchen 

/cc @wsorenson