Best way to maintain a sorted list in javascript
<p>I need to maintain a list of blocks in JavaScript and render them in a specific order. There could be add , delete  update operations on the list. This list could hold up to 1000 objects.</p>

<p>At the time of render, the list should be rendered in a specific order.</p>

<p>I am looking for the best way to implement n maintain order/sorted list in JavaScript. I need to perform the following operations on this list : Add delete; update and search.</p>

<p>Is there any Jquery or any other library available that can do this?</p>

<p>Thanks for you help.</p>
