fixing Sorting on fields that don't exist throws an error #40