fixed sorting in list view.