fixed sorting order which supports keeping the same ratings chozen by the user