fixed rankings association sorting