fix an issue, and sort on score. Ready for test.