sorting of list within selected category  bug  fixed