Tables may be sorted

Implements rudimentary table sorting for the Contact and Org index views

Also fixes contacts not being linked correctly to their show view