title: Grails: Is there a way to retrieve _idx property of an Object in a List?
body: <p>I have an association like this</p>
  
  <pre><code>class Parent 
  List children
  
  static hasMany =[children:Child]
  </code></pre>
  
  <p>I need to be able to know the <strong>order</strong> of a Child object when I look at it outside of Parent context. So that I can tell if it is a 1st child, second child, etc. </p>