SE-1277: added order by