title: how to reverse two elements position inside ul -> li
body: <p>I am using ng-multiselect-dropdown library to create dropdown with multi selectable option (checkbox and label). Everything works great as shown on picture.</p>
  
  <p><a href="https://i.stack.imgur.com/tVWnZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tVWnZ.png" alt="enter image description here"></a></p>
  
  <pre><code>&lt;div&gt;
  &lt;ul class="item2" style="max-height: 197px;"&gt;
      &lt;li class="multiselect-item-checkbox ng-star-inserted" style=""&gt;
          &lt;input aria-label="multiselect-item" type="checkbox"&gt;
          &lt;div&gt;test3&lt;/div&gt;
      &lt;/li&gt;
      &lt;li class="multiselect-item-checkbox ng-star-inserted" style=""&gt;
          &lt;input aria-label="multiselect-item" type="checkbox"&gt;
          &lt;div&gt;test1&lt;/div&gt;
      &lt;/li&gt;
  &lt;/ul&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I need to reverse elements on RTL mode. I have tried to add properties such as: <code>direction="rtl";</code>, <code>display: flex;</code>, <code>flex-direction: row-reverse;</code>, <code>flex-wrap: wrap;</code> </p>
  
  <p>But I could not manage to reverse elements. </p>
  
  <p>In short, I am trying to achieve following:</p>
  
  <p><a href="https://i.stack.imgur.com/SyQ3E.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SyQ3E.png" alt="enter image description here"></a>  </p>
  
  <p>Thank you very much in advance.</p>