Uncertainty-Adjusted Sorting for Asset Pricing with Machine Learning