Nice code and nice looking table!
But that's not, how TW works. TW has it's own rendering mechanism, similar to react, which constantly updates the DOM according to tiddler state.
TW stores everything in tiddlers.
The whole UI state, is stored in tiddlers. The TW DOM is rewritten with every key press or UI interaction if needed.
So as soon as you click a button, or edit a tiddler, your DOM structure will be destroyed and your sorting will start from zero.
You'll need to create a TW widget, if you want to use JS code. But I think that's not necessary.
From your OP and JsFiddler 1 journal entry is 1 tiddler. ad looks similar to this. eg:
title:
CC Vision
category: CC SA
period: Q2
assignee: abc
A sorted "by period" table should look like this:
That's nice. .... I'm not sure, what the "selector" is for.
I'm pretty sure, that all of this can be done with pure wikitext, without any javascript code. ...
I personally would add a tag to every tiddler eg: journal, which will allow me to easily select "all" jouernals. It's also possible, to select all tiddlers that have a field "period" or "category" ... It only needs to be sure, that those fields exist. ...
Just some thoughts.
-mario