title: Sorting digits of an integer
body: <p>You are given an integer <code>51234</code> (say) we need to sort the digits of a number the output will be <code>12345</code>.</p>
  
  <p>How to do it without using array ?</p>