Firm characteristics, labor sorting, and wages