Add sort and recurse options to preferences