data-structures-algorithms-python
data-structures-algorithms-python copied to clipboard
More efficient solution
The current solution repeats the selection sort for each key in the sort_by_list. My solution only requires doing the selection sort once, making it a more efficient solution.