Modified the ratings sorting in the UI