RJS: Add item to select list (in order) and select

Using RJS templates, how would you add a newly created item to a select
list, inserting it in its properly ordered place, and then cause it to
be selected?

Joe