@Test
    void testInvalidSpec() {
        assertNull(quoteAndTransform("+a -e +c"));
    }
Check sorting validation behaves OK.

@author Steinar Knutsen
container-search/src/test/java/com/yahoo/prelude/searcher/test/ValidateSortingSearcherTestCase.java