update that allows pages to be sorted on title before population the dropdown