parse can parse sortShape

parse can parse sort_shape

What is sort_shape? e.g.
The query here is `{ foo: "value", bar: "another value" }`. The query shape of
this query is `{ foo: 1, bar: 1}`. The sort shape is `{ number: -1.0 }` (sorts
are always represented as shape, with only 1 or -1 as valid values).

I modified the code I used to parse the query field to be able to parse the sort_shape field as well.