Sorting matches for correction to rating process.
Merge pull request #55 from ewilson/ratingfix

Sorting matches for correction to rating process.