TYPES are sorted alphabetically in cmake.  allows binary search n stats_type_get