turn off sorting and fix selection errors