Getting bytes/str sorted for Python 3.2.