1. You just have to use an arrow function in the Onclick event like this:
that.handleSort(theValue)} >{column}
2.Then bind this in the constructor method:
this.handleSort = this.handleSort.bind(this);
3.And finally get the value in the function:
handleSort(theValue){
console.log(theValue);
}