title: Orderby desc multiple properties in Neo4jClient
body: <p>Suppose I have 4 photos and I want to return a list sorted first on Rating desc, second on RatingsCount desc. Below cypher query gives me the correct result:</p>
  
  <pre><code>MATCH (n:`Photo`) WHERE n.RatingsCount &gt; 0 RETURN n.Rating, n.RatingsCount ORDER BY n.Rating DESC, n.RatingsCount DESC LIMIT 20
  </code></pre>
  
  <p>Id 1-Rating 9-Ratingscount 1</p>
  
  <p>Id 3-Rating 7-Ratingscount 2</p>
  
  <p>Id 2-Rating 7-Ratingscount 1</p>
  
  <p>Id 4-Rating 2-Ratingscount 1</p>
  
  <p>Unfortunately I cannot translate it to Neo4jClient. Below query gives me a photolist ordered by Rating ascending and Ratingscount descending:</p>
  
  <pre><code>var query = await graphClient.Cypher
              .Match("(photo:Photo)")
              .Where((PhotoEntity photo) =&gt; photo.RatingsCount &gt; 0);
              .ReturnDistinct((photo) =&gt; new
              {
                  Photo = photo.As&lt;PhotoEntity&gt;()
              })
              .OrderByDescending("photo.Rating", "photo.RatingsCount")
              .Limit(20)
              .ResultsAsync;
  </code></pre>
  
  <p>Id 4-Rating 2-Ratingscount 1</p>
  
  <p>Id 3-Rating 7-Ratingscount 2</p>
  
  <p>Id 2-Rating 7-Ratingscount 1</p>
  
  <p>Id 1-Rating 9-Ratingscount 1</p>
  
  <p>If I change order of Rating and RatingsCount I get the photos in an even stranger order :) Any clue of what I am doing wrong here?   </p>
  
  <pre><code>var query = await graphClient.Cypher
                  .Match("(photo:Photo)")
                  .Where((PhotoEntity photo) =&gt; photo.RatingsCount &gt; 0);
                  .ReturnDistinct((photo) =&gt; new
                  {
                      Photo = photo.As&lt;PhotoEntity&gt;()
                  })
                  .OrderByDescending("photo.RatingsCount", "photo.Rating")
                  .Limit(20)
                  .ResultsAsync;
  </code></pre>
  
  <p>Id 1-Rating 9-Ratingscount 1</p>
  
  <p>Id 2-Rating 7-Ratingscount 1</p>
  
  <p>Id 4-Rating 2-Ratingscount 1</p>
  
  <p>Id 3-Rating 7-Ratingscount 2</p>