Text[Grid[ Join[{Flatten[{"", Table[Rotate[10^i, 90 Degree], {i, 9, 0, -1}]}]}, Flatten[{#, IntegerDigits[#, 10, 10]}] & /@ Sort[RandomInteger[10^10, 10]]], Dividers -> Center, Alignment -> {Right, Bottom}]]