Results are now sorted

Fixes issue #3