Add item in order to a list
<p>What is the best way to add an item to an ordered list?</p>

<p>I want that when an item changes the value the value of that control is placed on a list.</p>

<p>Example</p>

<p>-radiobutton value = radiobuttonvalue;<br>
-checkbox value = checkboxvalue;<br>
-textbox value = textboxvalue;<br></p>

<p>clicks: first on the checkbox than radiobutton and last textbox.</p>

<p>output:<br></p>

<pre><code>&lt;ul&gt;
&lt;li&gt;radiobuttonvalue&lt;/li&gt;
&lt;li&gt;checkboxvalue&lt;/li&gt;
&lt;li&gt;textboxvalue&lt;/li&gt;
&lt;/ul&gt;
</code></pre>

<p>so i that it doen't matter in wich control is clicked first, the output is always in the same order.</p>
