title: Sort Tuples without using Python's built-in Sort
body: <p>I'm trying to merge this 2 tuples (t,n), so it returns a tuple that is the sorted combination of t and n. </p>
  
  <p>Can't find what's wrong with this:</p>
  
  <pre><code>def junta(t,n):
      a = ()
      b = () 
      minimo = t[0]  
      for x in t: 
          if x &lt; minimo:
              minimo = x
      a = a + (minimo)
      t = t - (minimo)
      minimo2 = n[0]  
      for y in n: 
          if y &lt; minimo2:
              minimo2 = y
      b = b + (minimo2)
      n = n - (minimo2)
      c = a + b
      return c
  </code></pre>
  
  <p>This should do the same as this:</p>
  
  <pre><code>def  juntas(a,b):
      return tuple(sorted(a+b))
  </code></pre>