Fix sort errors that happen in Python 3

4 jobs for dict-sort in 11 minutes and 39 seconds (queued for 5 minutes and 17 seconds)
Status Job ID Name Coverage
  Build
failed #122505
docker
build_linux_27

00:02:04

54.0%
failed #122506
docker
build_linux_36

00:02:37

53.0%
passed #122507
macosx
build_macosx_27

00:03:35

54.0%
passed #122508
macosx
build_macosx_36

00:03:23

53.0%
 
Name Stage Failure
failed
build_linux_36 Build There is an unknown failure, please try again
(16:01:39.767) export BOB_DOCUMENTATION_SERVER=http://www.idiap.ch/software/bob/docs/bob/%(name)s/master/
(16:01:39.768)
export CURL_CA_BUNDLE=/local/builds/bob/gridtk/_ci/cacert.pem
(16:01:39.769)
export SSL_CERT_FILE=/local/builds/bob/gridtk/_ci/cacert.pem
(16:01:39.770)
export DOC_SERVER_PREFIX=public-upload/docs/bob/gridtk
(16:01:39.771)
DOC_UPLOADS=public-upload/docs/bob/gridtk/dict-sort/
(16:01:39.772)
export LANG=en_US.UTF-8
(16:01:39.773)
export LC_ALL=en_US.UTF-8
(16:01:39.774)
export MATPLOTLIBRC=/local/builds/bob/gridtk/_ci
ERROR: Job failed: exit code 1
failed
build_linux_27 Build There is an unknown failure, please try again
(15:58:52.873) export BOB_DOCUMENTATION_SERVER=http://www.idiap.ch/software/bob/docs/bob/%(name)s/master/
(15:58:52.874)
export CURL_CA_BUNDLE=/local/builds/bob/gridtk/_ci/cacert.pem
(15:58:52.875)
export SSL_CERT_FILE=/local/builds/bob/gridtk/_ci/cacert.pem
(15:58:52.877)
export DOC_SERVER_PREFIX=public-upload/docs/bob/gridtk
(15:58:52.878)
DOC_UPLOADS=public-upload/docs/bob/gridtk/dict-sort/
(15:58:52.879)
export LANG=en_US.UTF-8
(15:58:52.880)
export LC_ALL=en_US.UTF-8
(15:58:52.881)
export MATPLOTLIBRC=/local/builds/bob/gridtk/_ci
ERROR: Job failed: exit code 1