(SELECT t_lk.f_contact_id FROM clm_app_lk t_lk, clm_contact t_cont, en_entity t_ent WHERE t_lk.f_app_id = '322' AND t_cont.f_id = t_lk.f_contact_id AND t_cont.f_entity_id = t_ent.f_id AND t_cont.f_enable = 1 AND t_lk.f_enable = 1 ) ORDER BY UPPER(t_cont.f_name) ASC