use resthelper for search and sort