def test_sort_labels(self):
        labels = [
            ['205', '2', 'a', 'i'], ['205', 'Subpart', 'A'], ['205', '2']]

        sorted_labels = compiler.sort_labels(labels)
        self.assertEqual(
            sorted_labels,
            [['205', 'Subpart', 'A'], ['205', '2'], ['205', '2', 'a', 'i']])
    def test_sort_labels(self):
        labels = [
            ['205', '2', 'a', 'i'], ['205', 'Subpart', 'A'], ['205', '2']]

        sorted_labels = compiler.sort_labels(labels)
        self.assertEqual(
            sorted_labels,
            [['205', 'Subpart', 'A'], ['205', '2'], ['205', '2', 'a', 'i']])
    def test_sort_labels(self):
        labels = [["205", "2", "a", "i"], ["205", "Subpart", "A"], ["205", "2"]]

        sorted_labels = compiler.sort_labels(labels)
        self.assertEqual(sorted_labels, [["205", "Subpart", "A"], ["205", "2"], ["205", "2", "a", "i"]])