title: Sort lexicographically?
body: <p>I am working on integrating with the Photobucket API and I came across this in their <a href="http://pic.photobucket.com/dev_help/WebHelpPublic/Content/Getting%20Started/Consumer%20Authentication.htm" rel="noreferrer">api docs</a>:</p>
  
  <blockquote>
    <p><em>"Sort the parameters by name
    lexographically [sic] (byte ordering, the
    standard sorting, not natural or case
    insensitive). If the parameters have
    the same name, then sort by the value."</em></p>
  </blockquote>
  
  <p>What does that mean? How do I sort something lexicographically? byte ordering? </p>
  
  <p>The rest of their docs have been ok so far, but (to me) it seems like this line bears further explanation. Unfortunately there was none to be had.</p>
  
  <p>Anyway, I'm writing the application in <strong>Python</strong> (it'll eventually become a Django app) in case you want to recommend specific modules that will handle such sorting for me ^_^</p>