withSort did not support descendant properties

This gives support for "data.date"-style properties matching from the helper.