I'm pretty new to python and was sorting through an array of strings. But I noticed a problem for my use case.
Take an array like the following:
["C", "CSS", "CSA", "C-SHARP"]
When I pass it through sorted(), it becomes:
["C-SHARP", "C", "CSA", "CSS"]
Is there a way I can ignore some characters, which for my case is the '-' character, so that the result becomes:
["C", "CSA", "C-SHARP", "CSS"]