SCHEMA:
CREATE TABLE Apartments (apt_type_code VARCHAR)
USER:
Show the apartment type codes and the corresponding number of apartments sorted by the number of apartments in ascending order.

QUERY:
SELECT apt_type_code, COUNT(*) FROM Apartments GROUP BY apt_type_code ORDER BY COUNT(*)