tweaks to statistics: - support stats from simple field => 'value' structure - sort fields which are not numeric correctly