You should be able to sort the TR elements of this table, though the input and button elements should keep working.