Javascript : Sorting listbox based on alphabet clicks
                            
                         
                        
                     
                 
                
                    Have alphabets from A to Z with each with a link.
i.e
a b c d ....
-   -  - -
Have a list of names displayed in a listbox.
On clicking the characters (a to z) , i must populate the listbox with the names starting from the character which was clicked.
using javascript?