def test_make_root_sortable(self):
        self.assertEqual(compiler.make_root_sortable(["205", "B"], Node.EMPTYPART), (0, "B"))

        self.assertEqual(compiler.make_root_sortable(["205", "Subpart", "J"], Node.SUBPART), (1, "J"))

        self.assertEqual(compiler.make_root_sortable(["205", "B"], Node.APPENDIX), (2, "B"))

        self.assertEqual(compiler.make_root_sortable(["205", "Interp"], Node.INTERP), (3,))
    def test_make_root_sortable(self):
        self.assertEqual(
            compiler.make_root_sortable(['205', 'B'], Node.APPENDIX),
            (1, 'B'))

        self.assertEqual(
            compiler.make_root_sortable(['205', 'Subpart', 'J'], Node.SUBPART),
            (0, 'J'))

        self.assertEqual(
            compiler.make_root_sortable(['205', 'Interp'], Node.INTERP),
            (2, ))
    def test_make_root_sortable(self):
        self.assertEqual(
            compiler.make_root_sortable(['205', 'B'], Node.APPENDIX),
            (1, 'B'))

        self.assertEqual(
            compiler.make_root_sortable(['205', 'Subpart', 'J'], Node.SUBPART),
            (0, 'J'))

        self.assertEqual(
            compiler.make_root_sortable(['205', 'Interp'], Node.INTERP),
            (2, ))