Determining the last line of text

Fellow Microstation Programmers,

If the user selects several pieces of text and text-nodes with a selection window, then how would code determine the "last line" of text?  Where the "Last line" is the one with the smallest value on the Y-axis of a 2D drawing?

Thanks in advance,

Christmas May