Thanks Aaron, I'll have to give that a try.
Incidentally, it appears our users who made this request have changed the requirement so that I will not need to group by an incrementing number. I'll go ahead and declare Aaron's response to be the correct answer.