Add sort syntax
Close over some variables and let fields and sort happen together
Add limit
Add offset
Names
Remove duplicates from fields and sort