Transposed, sorted data for makeTree