sort scores client side