Show the apartment type codes and the corresponding number of apartments sorted by the number of apartments in ascending order.
select apt_type_code, count(*) from apartments group by apt_type_code order by count(*) asc