Add the ability to sort table