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

Add operations for `Sort` and `Head` to table expressions.  

This PR also serves as a nice minimal example for how to create new TableExpr operations.