Lol! That would be more of a challenge! But still doable - you would have to calculate page numbers. A high-volume scenario would be another special case. ...
Columnar output that is row-ordered is difficult to read, so I worked on a variation of the requirement - column-order sorting, with a flexible number of columns. In...