I have an array which contains lots of strings which match the expression: /^(.+)(\d+)\#(\d+)$/
where $1 is always the same.
I want to sort them. The order it is already in is: $2 then $3 but with $3 sorted as a string not as a number (eg 12 before 2)
What I really want is to sort them first by $2 then by $3 but where these are both numerical sorting. How would I go about doing this?
Any assistance would be greatly appreciated.