Fixed an embarrassing mistake in the way the ratings were sorted