I have a list of names inside li tag and I would like to sort them by clicking external link/button/text(anything). I searched for this type of examples but not succeed.
Is this possible to make? I am not good enough in js or jquery to make something like this. If this is possible that will be very helpful for my project.
jsfiddle link : JS Fiddle
You can Add anything to accomplish the functionality.
HTML
<p>Click me to Sort</p>
<ul>
<li> Key Roles and Functions</li>
<li> Leadership Clarity</li>
<li> Margin</li>
<li> Market Differentiation</li>
<li> Market Maturity</li>
<li> Maturity</li>
<li> Mission</li>
<li> Vision</li>
<li> Objectives</li>
<li> Operational Efficiency</li>
<li> Outlet Characteristics</li>
<li> Overall Measurements</li>
<li> Overall Performance</li>
<li> Overall Systems</li>
<li> Pain Points</li>
<li> Performance</li>
<li> Positive Culture</li>
<li> Price Optimization</li>
<li> Promotion Strategy</li>
<li> Sales Model</li>
<li> Stickiness</li>
</ul>
CSS
ul{
list-style-type:none;
width:200px;
background:#bdbdbd;
}