fix score sorting