tokenSortPartialRatio function
Find all alphanumeric tokens in the string and sort these tokens and then take partial ratio of resulting joined strings.
Implementation
int tokenSortPartialRatio(String s1, String s2) {
return TokenSort().apply(s1, s2, PartialRatio());
}