Fix for ScanTest to run it against hadoop 2.0.

Without secondary sort, there is no guaranteed order of grouped touples. This change makes it deterministic.