3 of 6 added 79 characters in body

Perl 6, 82 bytes

-2 bytes thanks to Jo King

{(($!={$/=[^99];:10[map {|splice $/,$_,1},[R,] .polymod(1..97)]})($_+1)-$!($_))/9}

Try it online!

0-indexed. Only works up to 98!-2 for now. Doesn't enumerate all permutations.