title: How can I arrange vectors of Zeros and Ones in Python, in an order on which the vectors with ones on the last index stay on the bottom?
body: <p>Is there an efficient way to re-organize this vector list in Python:</p>
  
  <pre><code>[
    [0,0,1,0,0,1],
    [0,0,1,0,0,0],
    [0,0,1,0,1,0],
    [0,1,0,0,0,0],
    [0,1,1,0,0,1],
    [0,0,1,0,1,1]
  ]
  </code></pre>
  
  <p>in a way that the ones that have <code>...,1]</code> on the last index stay on the bottom, followed by the vectors that have the sequence <code>...,1,0]</code> on the last indexes, and them <code>...,1,0,0]</code>, and so on...</p>
  
  <pre><code>[
    [0,1,0,0,0,0],
    [0,0,1,0,0,0],
  
    [0,0,1,0,1,0],
  
    [0,1,1,0,0,1],
    [0,0,1,0,0,1],
    [0,0,1,0,1,1]
  ]
  </code></pre>
  
  <p>The inner order actually does not matter.</p>