Rename pagesort to pagefilter, add a real page sorting program