To get all the pie segments to be in the right order, sort on sum/sales/descending. However, that will still have a pie segment for each State and the labels won't look right. I used the Top N and Other techniques in the attached.
Also, since I couldn't resist, I put together bar chart and treemap versions of this.
PS: The reason why we need the sort is that Tableau will draw a mark for each "row" of data returned from the data source (after all filtering occurs), and for a pie chart with State in the level of detail that means Tableau is going to draw 50 segments, drawn from 12am clockwise. When we sort based on sum/sales/descending that works well with the % of total calc.
The Top N and Other solution uses a table calculation to only return the state meeting the threshold, and Other for the 1st state that doesn't meet the threshold, and Null for everything else. Then we can filter for non-Null values and only draw N+1 marks, and the sort works fine.
top N pie.twbx.zip 1.5 MB