Sorting groups by starvation working, cleaned up counting