sort xy pairs in insight data

Change-Id: I940a9ef3dbbfd4a7dcd61a6586c8bf4b15ad58b2
Reviewed-on: http://review.couchbase.org/32268
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>