Adds #1503, adds sortSelect option, fixes select to preserve original value order by default