in reply to sort on numbers embedded in text
Those that are BLOGOddd-FMT-FMT need to be sorted seperately, but also numerically.do you mean the result can show up in an entirely separate list, or all at the end of the ddd-FMT-FMT list as a group? And then there's
Everything else can be sorted normally,which again doesn't say if those elements should end up as a string sort (aside: is that what you mean by "normal" {grin}?) in yet a third output list, or put after or before the other two sort lists in the same output.
Most of the battle of the code is getting the specification right. And then the coding falls naturally from that. So, if you want a solution that fits your problem, please give us a codeable specification.
-- Randal L. Schwartz, Perl hacker
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Re: sort on numbers embedded in text
by d4vis (Chaplain) on Oct 09, 2000 at 19:48 UTC |