#43 adding sort in new queries