Sort by Length

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
donsimon
Posts: 2
Joined: Wed Sep 03, 2003 5:33 pm

Sort by Length

Post by donsimon »

Is there a way to sort by the length in textpad? If I have a list of 5000 items how can I sort them by length? It's easy by alpha, etc... But not length.

Any ideas?

Donny
User avatar
Bob Hansen
Posts: 1516
Joined: Sun Mar 02, 2003 8:15 pm
Location: Salem, NH
Contact:

Post by Bob Hansen »

How about if you right justify to a wide margin, and front load with spaces?

Then do an alpha sort should bring the shortest ones first, the longest ones last.

(Assumes nothing on the lines but the info to be sorted).
donsimon
Posts: 2
Joined: Wed Sep 03, 2003 5:33 pm

Post by donsimon »

Bob,
Actually it was easier than that, right justify and then sort. Worked perfectly. Thank you.

Donny
Post Reply