How to verify whether the table is sorted using C# Selenium
<p>I have the below table sorted &amp; i want to verify the table is sorted in an order using C# selenium</p>

<p>first numeric values will be sorted and alphabets will be sorted.</p>

<h1>Display name</h1>

<p>1 <br>
2 <br>
5<br>
7<br>
Abbot<br>
Edfdsf<br>
Fdsf<br></p>

<p>i need to to verify in c# selenium.</p>

<p>My Thoughts: is it easy way to convert each row value to ASCII number and compare with the next row ?</p>

<p>Please provide your suggestion?</p>