SELECT * FROM Sentenizer ( ON paragraphs_input TextColumn ('paratext') Accumulate ('paraid', 'paratopic') ) ORDER BY 1, 3;