I can only say that I know nothing about regular expression. The challenge instruct us to sort those list of bands, but we have to exclude their article (‘a’, ‘an’, ‘the’) first. For example, “The Corrs” will be displayed first before “Gorillaz”.
The challenge could be more challenging if only I know a bit about
regex is expensive skill that
requires years of traning to master.
This is my stupid approach to hurry things up. I don’t care about the better solution.
Here’s the demo.