ORDER BY array_position(ARRAY['f', 'p', 'i', 'a']::varchar[], x_field)