|Think about Loose Coupling|
Re: Coming up with good examples in PODby kcott (Bishop)
|on Jul 25, 2020 at 23:58 UTC||Need Help??|
G'day Lady Aleena,
"I just can not come up with a list where this might be needed on alphabetical strings."
With split_sort(), as currently written, I can't see any use for the alpha sort type: it will return the same as a plain sort (in all cases, as far as I can tell).
With an alpha sort type ignoring case, you could get this difference:
With an alpha sort type expecting Unicode, you could get this difference:
"I am now thinking that I should just put a note in saying that the alphabetical usage is redundant."
Perhaps not entirely redundant. Consider its potential use in a scenario where you process an AoA which holds a mixture of numeric and alphabetic arrays.
Do note that I just typed that code directly into my post: it's entirely untested.