Sorting in turn...

Get help with installation and running here.

Moderators: DataMystic Support, Moderators, DataMystic Support, Moderators, DataMystic Support, Moderators

Post Reply
alnico
Posts: 74
Joined: Fri Oct 12, 2007 11:57 pm

Sorting in turn...

Post 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?
User avatar
DataMystic Support
Site Admin
Posts: 2227
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Re: Sorting in turn...

Post 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.
alnico
Posts: 74
Joined: Fri Oct 12, 2007 11:57 pm

Re: Sorting in turn...

Post by alnico »

Okay...I am looking into using sub initSubFilters() to control the flow and what subfilters get hit.
Post Reply