States are ranked based on the highest incomes needed by households to maintain a middle-class standing.