Fixed QueryBuilder::orderBy() compatibility