title: Sorting A Drop Down Menu in Django With Hard-Coded Choices
body: <p>I have a few drop down menus that are hard-coded into my model.  For example:</p>
  
  <pre><code>CITIZENSHIP_CHOICES = {
      (u'Canada', u'Canada'),
      (u'USA', u'USA'),
      (u'United Kingdom', u'United Kingdom'),
      (u'None', u"None of the above"), 
  }
  
  COUNTRY_CHOICES = {
  ('USA', 'USA'),('Canada', 'Canada'),('Israel', 'Israel'),('UK', 'UK'),('Afghanistan', 'Afghanistan'),('Albania', 'Albania'),('Algeria', 'Algeria'),('Andorra', 'Andorra'),('Angola', 'Angola'),('Antigua and Barbuda', 'Antigua and Barbuda'),('Argentina', 'Argentina'),('Armenia', 'Armenia'),('Australia', 'Australia'),('Austria', 'Austria'),('Azerbaijan', 'Azerbaijan'),('Bahamas', 'Bahamas'),('Bahrain', 'Bahrain'),('Bangladesh', 'Bangladesh'),('Barbados', 'Barbados'),('Belarus', 'Belarus'),('Belgium', 'Belgium'),('Belize', 'Belize'),('Benin', 'Benin'),('Bermuda', 'Bermuda'),('Bhutan', 'Bhutan'),('Bolivia', 'Bolivia'),...
  }
  
  SERVICE_LENGTH_CHOICES = {
      (6, "6"),
      (12, "12"),
      (18, "18"),
      (21, "21"),
      (24, "24"),
      (28, "28"),
      (30, "30"),
      (32, "32"),
      (32, "36"),
      (42, "42")
  }
  </code></pre>
  
  <p>All of my fields are in the same model in models.py. Each one of the drop down fields looks like this:</p>
  
  <p><code>citizenship = models.CharField(max_length=100, choices=CITIZENSHIP_CHOICES, null=True, blank=True)</code></p>
  
  <p>For some reason though, in my form, the drop downs are in a strange order. I'd like it either to be in the order I entered it in models.py or to order it alphabetically/numerically.</p>
  
  <p><img src="https://i.stack.imgur.com/HiPeY.png" alt="Service Length drop down menu"><a href="https://i.stack.imgur.com/HiPeY.png" rel="nofollow noreferrer">3</a><img src="https://i.stack.imgur.com/fjmcA.png" alt="Country drop down menu"><a href="https://i.stack.imgur.com/fjmcA.png" rel="nofollow noreferrer">2</a><img src="https://i.stack.imgur.com/YrXcr.png" alt="Citizenship drop down menu"><a href="https://i.stack.imgur.com/YrXcr.png" rel="nofollow noreferrer">1</a></p>
  
  <p>Everything I've found online discusses foreign keys, but I'm not using any foreign keys.
  Any help is much appreciated.</p>