Add `Sort` and `Head` operations to table expressions