in reply to Re^2: Complex conditional sort
in thread Complex conditional sort
Why did you reintroduce ($aa <=> $bb || $aa cmp $bb)? First, it goes against what you said ("each group must then be sorted in alphabetical order"). Secondly, it implies that you have colour names that start with numbers, and that doesn't make much sense. Maybe you are doing a cheap "natural sort", but you'd would at least need a no warnings; to accompany it.
Update: Expanded to clarify.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Complex conditional sort
by Anonymous Monk on Mar 09, 2011 at 03:57 UTC | |
by ikegami (Patriarch) on Mar 09, 2011 at 07:06 UTC | |
by Zhris (Initiate) on Mar 09, 2011 at 20:52 UTC |