clean up key sorting
speed up stats
adds object read stream test