title: How to maintain insert ordering for one-to-many relationship in Django
body: <p>How to maintain insert ordering with one-to-many Django mapping, for eg:
  Say we have,</p>
  
  <pre><code>class Person(models.Model):
      name = Model.CharField(max_length=50)
  
  class Subject(models.Model):
      sub_name = Model.CharField(max_length=50)
      person = Model.ForeignKey('Person')
  
  def insert_data():
      person = Person.objects.create(name='Deepan')
      Subject(name='Eng', person=person).save()
      Subject(name='Sci', person=person).save()
  
  Subject.objects.filter(person=person) # is there a way to make this to always return the subjects in the inserted order, i.e Eng, Sci instead of Sci, Eng
  </code></pre>
  
  <p>This is handled using list types in hibernate/grails</p>