Arrange results in a table