order entries by sum on home page