Various string sorting algorithms in Python.