I am baffled by the fact that Material Table sorting does not properly arrange the table. I have created a stackblitz example to demonstrate this.
Expected order - Sorting lowest IP first:
"10.16.0.8"
"10.16.0.16"
"10.16.0.32"
"10.16.10.35"
"10.16.10.64"
"10.16.10.120"
After clicking the button to sort highest, the expected output would be:
"10.16.10.120"
"10.16.10.64"
"10.16.10.35"
"10.16.0.32"
"10.16.0.16"
"10.16.0.8"
However, the current output when sorting now may look like:
10.16.0.16
10.16.0.32
10.16.0.8
10.16.10.120
10.16.10.35
10.16.10.64