re-order table