select * from met1_objects WHERE (det ilike '%Y%') ORDER BY met1_objects.ra,met1_objects.dec