Refresh the table when a sort event is triggered by the collection.

Fixes #28.