Differentiate between regular path accesses and sort accesses
`foo.0.bar` is forbidden in sorts
issue