Change pagesortby and pageorderby to select
Fix selects