Order functions properly in conn.c.