title: Gremlin query - sort response by field value
body: <p>I have the following query which retrieves course data connected to a student entity.</p>
  <pre><code>g.V().
    hasLabel('student').
    has('studentId', ':studentId').
    inE('studentBelongsToCourse').
    has('status', 'active').
    outV().
    hasLabel('course').
    has('status', 'active').
    dedup().
    by('externalId').
    valueMap('externalId', 'term').
    range(:offSet, :limit);
  </code></pre>
  <p>Is it possible to sort the response by the <code>TERM</code> field? which is part of the <code>course</code> entity.</p>
  <p>For example, have items with <code>Fall</code> term appear before <code>Winter</code> term, like so:</p>
  <pre><code>[
  {
    externalId: courseA,
    term: Fall,
  },
  {
    externalId: courseA,
    term: Winter,
  }
  ]
  </code></pre>