filtering and page order done correctly