Think about Loose Coupling | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I seems to me the preferred sort order in your example is different from what you describe in the text, and both text and example appear somewhat inconsistent. For example, you say you want linux releases in release order, yet you put linux-2.4.3 after linux-2.4.28. Same thing with 2.10.6 vs 2.10.50 The core inconsistency seems to be this part of your request: "x.10 should come after x.9, but x.55 should come before x.6". Perhaps (since this seems to be about comparing release versions of software packages) you need to find a way to use a different compare function for different packages, and the n either use a lookup table or a heuristic to figure out which one to use. In reply to Re: Alpha number sort
by Crackers2
|
|