DATAMONGO-1085 - Sort can not use the metamodel classes generated by QueryDSL.

Added test case for sorting with a QueryDSL OrderSpecifier. Seems to work as expected.