Ability, Sorting and Wage Inequality