sort stats by reverse time, fixes #29