Fix test_util test by adding sort option to dumps