Updated to sort ratings and choose alphas