ensure MustacheApi list is sorted