fix sort params to use name str, not node