fixed sort routine, enabled numeric formatting

It was breaking on group query/reports because it tried to call `sort()` on a `ValuesListQuerySet`.