Hot off my mistake in the earlier thread, I figured I’ll go ahead and propose a solution to modify counting sort to work with negative values as well!
Hopefully this helps those of you who stumble onto here either from the article or a Google search
Also, I had way too much fun creating this:
Cheers,
Kirupa