score:2

Accepted answer

as you are rendering the table data dynamically then try to load the data with ascending order in case it is in descending.

your table should look like below, and replace table body :

<tbody>
                <tr role="row" class="odd">
                    <td>2012</td>
                    <td>0</td>
                    <td>0</td>
                </tr>
                <tr role="row" class="even">
                    <td>2013</td>
                    <td>0</td>
                    <td>0</td>
                </tr>
                <tr role="row" class="odd">
                    <td>2014</td>
                    <td>0</td>
                    <td>0</td>
                </tr>
                <tr role="row" class="even">
                    <td>2015</td>
                    <td>1</td>
                    <td>3</td>
                </tr>
                <tr role="row" class="odd">
                    <td>2016</td>
                    <td>3</td>
                    <td>11</td>
                </tr>
            </tbody>

Related Query

More Query from same tag