conf: Fix sorting of options with Python 3