better stats sorting