statistics the state rates and sorting