Redid get_stats to output ordering.