Defines a SortResult class
Add comparison count