modify sorting searching