Compare the total number of captains with different classes using a bar graph, and display total number from low to high order.
CREATE TABLE Ship (
    Ship_ID int,
    Name text,
    Type text,
    Built_Year real,
    Class text,
    Flag text
)

CREATE TABLE captain (
    Captain_ID int,
    Name text,
    Ship_ID int,
    age text,
    Class text,
    Rank text
)
SELECT Class, COUNT(Class) FROM captain GROUP BY Class ORDER BY COUNT(Class)
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Compare the total number of captains with different classes using a bar graph, and display total number from low to high order. ### Input: CREATE TABLE Ship (
    Ship_ID int,
    Name text,
    Type text,
    Built_Year real,
    Class text,
    Flag text
)

CREATE TABLE captain (
    Captain_ID int,
    Name text,
    Ship_ID int,
    age text,
    Class text,
    Rank text
) ### Response: SELECT Class, COUNT(Class) FROM captain GROUP BY Class ORDER BY COUNT(Class)