N1QL query always returns an empty set

I noticed that ‘SELECT RAW’ doesn’t make the ORDER BY statement work. When I perform a RAW query with some ordination logic, my result set is always unordered