Initial impl for sorting by nested fields.