Custom JS for Repeating Group Tools Plugin

Hi Bubblers,

I have a RG sorting issue that I need some help with. I’m using the awesome Repeating Group Tools plugin by @gaurav however it needs some JS fine tuning.

As you can see below, the Qualified scores are all out of whack, but need to be sorted from highest to lowest.

That Qualified score is constructed with the following calculation:

The data for sorting the RG is as follows:

And the custom JS is implemented in a Transformer Sorter element shown below:

Currently I’m not telling the Transformer Sorter how to calculate the Qualified score and i’m not sure where to put the calculation.

Any help would be fab, or if anyone can put me in touch with a bubble / JS developer, that too would be fab.

Thanks a heap

Dave