Sort rows by jquery

Hi,

Displaying 300 rows using <div>, listed below. I have two links “Sort by Name” and “Sort by Age” outside div. Now my requirement is clicking those link records will be sorted accordingly.

Here we don’t have table structure. So we can’t use “tablesorter” script from http://tablesorter.com. Is there any way to sort records in faster way using Jquery or something else?

<div>
<ul>
<li>Name : aaa</li>
<li>age : 24</li>
</ul>
<ul>
<li>Name : ccc</li>
<li>age : 14</li>
</ul>
<ul>
<li>Name : bbb</li>
<li>age : 34</li>
</ul>
</div>