added search and sort for persons