Group statistics by key_type. Return a sorted list of Statistic instances.
tracemalloc/Snapshot.statistics
Snapshot.statistics