for sure, my mistake
...the salary of some workers is unknown and hence represented as "-".
this breaks if there is any other non-numeric char besides '-' EDIT: facepalm
Additional test cases added
Nice kata !!!
heapq in this case 100 times more effective than sort:
This comment is hidden because it contains spoiler information about the solution
I was inattentive...
Your own tests prove that you're wrong...
Faster than slicing
Nice piece of work, author!
If you need time complexity,
what about creating module in cython for best performance?
This makes no sense without further explanation. Where's the purity and what's impractical about this solution? What does this have to do with the solution? Please, use real arguments and not "argumentum ad The Zen of Python".