Floating navigation anchor points without reversing their order? : <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-css lang-css prettyprint-override"><code>.topNav {
  overflow: hidden;
  background-color: #5e9da1;
}


/* Style the links inside the navigation bar */

.topNav a {
  float: right;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}


/* Change the color of links on hover */

.topNav a:hover {
  background-color: #ddd;
  color: #000000;
}


/* Add a color to the active/current link */

.topNav a.active {
  background-color: #4CAF50;
  color: #ffffff;
}</code></pre>
<pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="topNav"&gt;
  &lt;a class="active" href="#home"&gt;Home&lt;/a&gt;
  &lt;a href="#About"&gt;About&lt;/a&gt;
  &lt;a href="#Gallery"&gt;Gallery&lt;/a&gt;
  &lt;a href="#Contact"&gt;Contact&lt;/a&gt;
&lt;/div&gt;</code></pre>
</div>
</div>
</p>

<p>How do I float the anchor points to the right without reversing the order among themselves? </p>

<p>Note: I was able to solve this problem by manually reversing the anchor point order in the HTML file, but I'm not sure if this is a proper solution (good practice) to the issue:
         Example:</p>

<pre><code>  &lt;a href="#Contact"&gt;Contact&lt;/a&gt;
  &lt;a href="#Gallery"&gt;Gallery&lt;/a&gt;
  &lt;a href="#About"&gt;About&lt;/a&gt;
  &lt;a class="active" href="#Home"&gt;Home&lt;/a&gt;
</code></pre>
