made sure names have cummFrequency when using for sort