add sorting on getPagesByterm