basic pages helper, sorted, with limit