Is this 'group sorting' amenable to Regex?
Posted: Wed May 25, 2016 2:03 pm
A couple of hours of unsuccesfull attempts and I'm ready to give in, but before I do so I'd appreciate any suggestions please.
I want content like this :
*** "Status - Category or Overlay"
Count entries in category (no display): 5
*** "Icons - Making new ones"
*** "Overlay name to variable + registry"
Track: Test for GPS data: 6
Find any GPX on C: with that overlay name: 3
Timestamps (add): 9
Track to GE + files (single, silent): 12
Open track in GPSU: 10
*** "Capture current mark position"
to become alphabetically organised by the 'headers', like this:
*** "Capture current mark position"
*** "Icons - Making new ones"
*** "Overlay name to variable + registry"
Track: Test for GPS data: 6
Find any GPX on C: with that overlay name: 3
Timestamps (add): 9
Track to GE + files (single, silent): 12
Open track in GPSU: 10
*** "Status - Category or Overlay"
Count entries in category (no display): 5
(Note that some headers have no following entries.)
Even better would be for the entries to be sorted alphabetically too, like this:
*** "Capture current mark position"
*** "Icons - Making new ones"
*** "Overlay name to variable + registry"
Find any GPX on C: with that overlay name: 3
Open track in GPSU: 10
Timestamps (add): 9
Track: Test for GPS data: 6
Track to GE + files (single, silent): 12
*** "Status - Category or Overlay"
Count entries in category (no display): 5
Beyond the scope of TextPad?
--
Terry, East Grinstead, UK
I want content like this :
*** "Status - Category or Overlay"
Count entries in category (no display): 5
*** "Icons - Making new ones"
*** "Overlay name to variable + registry"
Track: Test for GPS data: 6
Find any GPX on C: with that overlay name: 3
Timestamps (add): 9
Track to GE + files (single, silent): 12
Open track in GPSU: 10
*** "Capture current mark position"
to become alphabetically organised by the 'headers', like this:
*** "Capture current mark position"
*** "Icons - Making new ones"
*** "Overlay name to variable + registry"
Track: Test for GPS data: 6
Find any GPX on C: with that overlay name: 3
Timestamps (add): 9
Track to GE + files (single, silent): 12
Open track in GPSU: 10
*** "Status - Category or Overlay"
Count entries in category (no display): 5
(Note that some headers have no following entries.)
Even better would be for the entries to be sorted alphabetically too, like this:
*** "Capture current mark position"
*** "Icons - Making new ones"
*** "Overlay name to variable + registry"
Find any GPX on C: with that overlay name: 3
Open track in GPSU: 10
Timestamps (add): 9
Track: Test for GPS data: 6
Track to GE + files (single, silent): 12
*** "Status - Category or Overlay"
Count entries in category (no display): 5
Beyond the scope of TextPad?
--
Terry, East Grinstead, UK