Toggle sort direction on subsequent clicks.