Testing of sorting data