rendered table in the correct order