Sort statistics table