Add stats predupsort

@snoormore