title: How do I sort a list of integers using only one additional integer variable?
body: <p>How to sort list of values using only one variable?</p>
  
  <p>EDIT: according to @Igor's comment, I retitled the question.</p>