Work in progress
Sample results are now sorted.