Page 1 of 1

Sorting in turn...

Posted: Wed Feb 09, 2011 1:27 pm
by alnico
I need to take a single line containing pattern and duplicate/insert it x times and increment certain digits in its line number, 1.1.1 (which gets used for sorting).
Then numerically sort ALL input and reset a specific line number digit (1.1.0), and then repeat this process again...so in effect repeating pattern match and sorting entire document in turn.

Sorting after a merge does not work, as it happens only once.

I am using VBScript for part of the processing...but I am not sure if this sorting can be done there either.

Any ideas?

Re: Sorting in turn...

Posted: Fri Feb 11, 2011 11:58 am
by DataMystic Support
You will have to use VBScript/JScript to repeatedly run the filter - note that you can change which data is being sorted by settings the start column to X and the length to Y.

Re: Sorting in turn...

Posted: Sun Feb 13, 2011 11:41 pm
by alnico
Okay...I am looking into using sub initSubFilters() to control the flow and what subfilters get hit.