Translate N1QL Query to Java SDK

If you are using SUBDOC array insert ot array append will not work.
You need to get whole array and construct by inserting right order and write . If cas miss match you need to repeat.

or take array and sort in seq use it