added scores sorting