ability to sort tables