Telefona gönder: An algebraic approach to multi-sorted constraints