title: neo4j graphity how to implement
body: <p>so I have been trying for quite some time to impelement the <code>Graphity</code> on neo4j
  But i can find a way to build the queries, anyone have any leads?</p>
  
  <p>for example on the neo4j document for <a href="http://neo4j.com/docs/stable/cypher-cookbook-graphity.html" rel="nofollow">Graphity</a> there is a query just to get only the first element on the chain. how do i get the second one?</p>
  
  <p>and also why there is an <code>order by</code> in the query? isn't that algorithm suppose to eliminate that?</p>
  
  <p>Here is the query:</p>
  
  <p><code>MATCH p=(me { name: 'Jane' })-[:jane_knows*]-&gt;(friend),(friend)-[:has]-&gt;(status)
  RETURN me.name, friend.name, status.name, length(p)
  ORDER BY length(p)</code></p>