Sorting tables functionality does not work with the Primefaces dependency in version 10, even though it works with version 8.

I have even tried the example case proposed in the project with tomcat and the functionality does not work well either.
I wonder if you know of any reason why this bug occurs on the tomcat 9 servers? and how to repair it in version 10 of primefaces ?.
I remain attentive to your response and I will be available for any question or information you need from me.
best regards.