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