group page threads in table