select t.pretty_name from acs_object_types t where t.object_type = :object_type select d.datatype from acs_datatypes d order by lower(d.datatype)