Ticket: Subfield Text Search what is SortKey

I have made good progress in Ticket: Subfield Text Search, but the only problem is that I can’t deal with the passing parameter sortkey in getMoviesByCast method. I have looked at TextAndSubfieldTest class to know what value is paasing it shows it passes the value “tomatoes.viewer.numReviews”, what is this value?

However, I expect the sortkey is going to be 1 or -1 (ascending and descending) but it does not.

Any help?

If you read the task again it wants descending sorting against the value passed in.

This should help:

Many thanks for help

Just to say Jake, the task doesn’t specify the sorting ordering