used jquery mobile syntax for sort and search