Oops. Fixed a bug I introduced in my last change. Thanks to Cristoph for catching this! I overgeneralized. Sorted results are not always the highest scoring.