reordered query outputs