I'm still not clear on exactly what you're trying to acomplish, but it
sounds more like a data management issue than a Word processing task. If I
get your drift at all, I sincerely believe you'd be better off to do without
the "sentence" concept and - if you need to do this in Word for some
reason - set it up as a Table with a column for each data item (or in
Excel). You can then sort the table any time based on either "field".
Further, the data could later be merged into other documents. IOW, it
sounds - no offense - like you might be going about it from the wrong
direction. It's far easier & more efficient to pull data *into* a Word doc
than it is to pull data *out* or reorganize it based on text strings
As Graham posted, something more explicit would be quite helpful.