Fixed not logging ratings, fixed sorting of logs