Automation, Globalization and Vanishing Jobs: A Labor Market Sorting View