class_docstr: Test the ClassificationScoreVisualizer base functionality
docstr: Ensure dictionary encoder labels are returned sorted
docstr_tok: ["Ensure","dictionary","encoder","labels","are","returned","sorted"]
code: def test_dict_labels_sorted(self):
      """
      Ensure dictionary encoder labels are returned sorted
      """
      le = {3: "a", 2: "c", 1: "b"}
      oz = ClassificationScoreVisualizer(GaussianNB(), encoder=le)
      npt.assert_array_equal(oz._labels(), ["b", "c", "a"])
  
imports: import pytest
  import numpy
  import numpy.testing
  from yellowbrick.classifier.base import *
  from sklearn.naive_bayes import GaussianNB
  from sklearn.preprocessing import LabelEncoder
  from sklearn.linear_model import LinearRegression
  from .conftest import assert_fitted, assert_not_fitted
  from yellowbrick.exceptions import YellowbrickTypeError
label_desc: Use image node_id 14 for calling the TestClassificationScoreVisualizer obj's underlying member method code with example usage: obj.test_dict_labels_sorted() without return types