Doctrine 2 - ORM

GH-240: fix QueryDqlFunctionTest#testFunctionSubstring order