title: When my code sorts the inputs, why doesn't it work in certain scenarios?
body: <p>I am new to Python.
  First, the code is supposed to take an input (in the form of "x/y/z" where x,y, and z are any positive integer) and split it into three different variables. </p>
  
  <pre><code>input = raw_input()
  a, b, c = input.split("/", 2)
  </code></pre>
  
  <p>I want the second part of my code to take these three variables and sort them based on their numerical value. </p>
  
  <pre><code>order = [a, b, c]
  print order
  order.sort()
  print order
  </code></pre>
  
  <p>While this works perfectly for most inputs, I have found that for inputs "23/9/2" and "43/8/2" the output has not been sorted so is not returned in the correct order. Any thoughts as to what could be causing inputs such as these to not work?</p>