Added searchign and sorting to the list