Small bugfix, so one is able to use objects as sort values, e.g. something: { primary: 'asc' } instead of plain 'primary asc'