Update sort direction on subsequent clicks

When switching from one header to another, the direction automatically changes, this prevents this behaviour and leaves the user with the last selected sorting (or default)