How to add a custom field as new column to all customer overview?

With the code of this post I could successfully help me out and display the custom field in the partial_client_table.php
Somebody have an idea how to make the table sortable?