METAMODEL-35: Improved paged queries on DB2 by carrying ORDER BY clause
to OVER function.