added sort and fixed the spacing in the listview.