Started the output of records sorted by highest rating, but saw that it's not going to be easy to do.

Will need to schedule additional time for it.  Look at the todo in the comments for the idea on how to do it right.