optimized search when 'order by @rid' (ASC or DESC), partially solves issue #2966