tabs to select sortable elements and bring to top?

tabs to select sortable elements and bring to top?

Hi all, i have a perfectly functional sortable page running, whereby each <li></li> is a block of graphics/content links etc.

the sortable mechanic works perfectly, but i'd really like to have a run of buttons along the top of the page:

element 1, element 2 etc

and for that click to bring the corresponding element to the top. Is this possible without destroying the sortable functionality?

This may be a very simple question but my knowledge of jQuery is VERY basic, so bear with me.

I'm loving it so far!

andy


Anyone? Heeeeeeeeeeelp! :-)