better stats
Adds `sort` and `sortBy` as requested by #29