Set up sorted aggregate statistics API endpoint.

See https://github.com/airbnb/chronos/pull/109, but merging into testing.

@brndnmtthws