title: Create nested list of tuple elements based on the string integer number as index
body: <p>Let’s say I have a tuple, which contains lists, where its first element is always a string-number, e.g.</p>
  
  <pre><code>asdf = (['0', ...], ['1', ...], ['2', ...], ['3.0', ...], ['3.1', ...], ['3.2', ...], ['4', ...] , ['5.0', ...], ['5.1', ...])
  </code></pre>
  
  <p>Baiscally, I want to have a list, which contains all the string-number of the lists of the tuple.</p>
  
  <p>However, if the first value of each list contains a subindex (in this case <code>3.0, 3.1, 3.2 and 5.0, 5.1</code>) I want to put these subvalues together into a sublist. The result in this example should look like the following.</p>
  
  <pre><code>Result = ['0', '1', '2', ['3.0', '3.1', '3.2'], '4', ['5.0', '5.1']]
  </code></pre>
  
  <p>Thanks for your help.</p>