title: Split list according to the rule
body: <p>I have a list </p>
  
  <pre><code>values_list = [1013.0, 683.0, 336.0, 406.0, 636.0, 1065.0, 1160.0]
  </code></pre>
  
  <p>Also I have a value</p>
  
  <pre><code>value = 660.6153846153846
  </code></pre>
  
  <p>This list is based on the assumption that there are 3 stages. First stage should be higher that the <strong>value</strong>, second - lower, and third is again higher.</p>
  
  <p>I want to split this list into three lists, saving the order of the values like this:</p>
  
  <pre><code>values_list = [[1013.0, 683.0], [336.0, 406.0, 636.0], [1065.0, 1160.0]]
  </code></pre>