[[rest-api-orderedresultsaresupersetofunordered]]
=== OrderedResultsAreSupersetOfUnordered ===

.Final Graph
["dot", "Final-Graph-orderedResultsAreSupersetOfUnordered.svg", "neoviz"]
----
  N170 [
    label = "{Node\[170\]|Name = \'Builder\'\l}"
  ]
----

_Example request_

* *+GET+*  +http://localhost:7474/db/data/index/node/bobTheIndex?query=Name:Build~0.1%20AND%20Gender:Male&order=score+
* *+Accept:+* +application/json+

_Example response_

* *+200:+* +OK+
* *+Content-Type:+* +application/json+
[source,javascript]
----
[ {
  "outgoing_relationships" : "http://localhost:7474/db/data/node/170/relationships/out",
  "data" : {
    "Name" : "Builder"
  },
  "score" : 0.41725853085517883,
  "all_typed_relationships" : "http://localhost:7474/db/data/node/170/relationships/all/{-list|&|types}",
  "traverse" : "http://localhost:7474/db/data/node/170/traverse/{returnType}",
  "property" : "http://localhost:7474/db/data/node/170/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/170",
  "properties" : "http://localhost:7474/db/data/node/170/properties",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/170/relationships/out/{-list|&|types}",
  "incoming_relationships" : "http://localhost:7474/db/data/node/170/relationships/in",
  "extensions" : {
  },
  "create_relationship" : "http://localhost:7474/db/data/node/170/relationships",
  "paged_traverse" : "http://localhost:7474/db/data/node/170/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "all_relationships" : "http://localhost:7474/db/data/node/170/relationships/all",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/170/relationships/in/{-list|&|types}"
} ]
----


