The comparator callback/lambda used a string comparision, which returned
the wrong documents, as "2" > "10", and "10" < "9", i.e. selecting the
"Highest rating" in dolphin returned all documents with a rating of 2
or higher.
Convert the numeric suffix of the rating term ("R2", "R10", ...) to
an integer value and use it for comparision.
BUG: 357960