@Phineas
Thanks, that gives me a bit of an idea of what's happening now.
What type of field are the comments being stored in inside of SharePoint? Is it a Multi line of text field? If so, are you storing as Plain Text or Rich Text? All of this matters.
Also, can you provide and example of data that you want sorted so I can see what it looks like.
As I said above, if each comment is separated by some sort of delimiter then you can use Spilt() to create a separate collection of comments only that you can then process further and sort. I can't explain how until I see some actual data.
As a sidenote, if you are using Rich Text inside a Multi line of text field then this can be a challenge to do what I'm suggesting above.