(1)Sorting the leads' list (2) JQuery Dialog Box