Your skill will accomplish
what the force of many cannot
Re^5: Custom Sort Arrayby 2teez (Priest)
|on Aug 10, 2013 at 21:28 UTC||Need Help??|
...We might be looking at it differently...
No, we are not, worked within the premises of the condition you gave initially.
... however, the dates will change, so it seems to only group by the last number, not by the date as well. See how all 9's and all 10's, etc, will be grouped, regardless of the prior date....
Because you are changing the rule of the game ....
Moreover, the output example you gave don't tally with the expected output. However, the solution, I gave initially can still be twisted a bit to make your expectation work.
How? match the relevant values, then sort by them in any way you wanted.
lastly, please remove, this
from your code.
Hope this helps.
If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me