added sorter to stats