Minor update for pul_rn and pul_query

- add doc to pul_rn and pul_query
- user can sort result of pul_query