sam1 0 Posting Whiz

hi,

I have a listbox and have managed to expand it when a user double clicks on an item.

but if i have 4 results the results will show at the end of these 4 results e.g.

year
month
day
minute

if i double click year then 2008 should show before month but it shows at the end after minute. can someone give me an idea of how to do this.

thanks