Below is the list of tables from the database along with their columns and datatype. Need to generate an accurate SQL query for the question.
Only use the columns present in the respective table. Only use the columns which are required to generate the SQL query. Only use table joins if required and not otherwise.

### Tables ###
TABLE: CREATE TABLE mission ( Mission_ID int, Ship_ID int, Code text, Launched_Year int, Location text, Speed_knots int, Fate text )
TABLE: CREATE TABLE ship ( Ship_ID int, Name text, Type text, Nationality text, Tonnage int )

### Question ###
Return a bar chart showing the total number of each ship type, list Y in ascending order.

### Accurate SQL ###

SELECT Type, COUNT(Type) FROM ship GROUP BY Type ORDER BY COUNT(Type)