title: How to group & order by distinct labels with Cypher
body: <p>Just started off with neo4j and thought that I'll use a real life model to teach myself. Getting stuck with the following</p>
  
  <h3>Model</h3>
  
  <p><code>(d:Destination)-[:Hosts]-&gt;(a:Accommodation)</code></p>
  
  <p><code>:Accommodation is sub-typed with other labels as :Homestay / :Hotel / :Guesthouse etc.</code></p>
  
  <h3>Query</h3>
  
  <p>For a given <code>d.name</code>, would like to retrieve all <code>a.names</code> grouped by their sub-types</p>
  
  <p>Will appreciate help</p>