Fixed bug with undefined or null fields in 'single' version of sorter function