@Test
    public void testTensorLabelReordering() throws ParseException {
        assertEquals(
                new RankingExpression("tensor(a[2],b[3]):[[1,2,3],[4,5,6]]").toString(),
                new RankingExpression("tensor(b[3],a[2]):[[1,4],[2,5],[3,6]]").toString());

    }
@author Simon Thoresen Hult
@author bratseth
searchlib/src/test/java/com/yahoo/searchlib/rankingexpression/RankingExpressionTestCase.java