instruction: A stacked bar graph shows the total number of captains categorize by ranks of different classes, and display in desc by the x-axis.
response: SELECT Class, COUNT(Class) FROM captain GROUP BY Rank, Class ORDER BY Class DESC