When facet.sort is used, the facet fields are sorted by the count in the reply string when using python output. However, after calling eval(), the sort order seems to be lost. Not sure if anyone has come up with a way to avoid this problem.
Using the JSON output with a JSON parser for Python should work but I haven't tested it yet. -- Best regards, Jack