Add sort UI to documents header.

Finally.

Fixes #58
Change add form cancel buttons to links