tablesort

Source

MakeModelYearAWD
FordModel A1931false
FordBronco1970true
HondaCR-V2011true
SubaruOutback2021true
VolvoXC-402024true
<drab-tablesort>
    <table>
        <thead>
            <tr class="cursor-pointer">
                <th class="data-[asc]:underline data-[desc]:overline" data-trigger>
                    Make
                </th>
                <th class="data-[asc]:underline data-[desc]:overline" data-trigger>
                    Model
                </th>
                <th
                    class="data-[asc]:underline data-[desc]:overline"
                    data-trigger
                    data-type="number"
                >
                    Year
                </th>
                <th
                    class="data-[asc]:underline data-[desc]:overline"
                    data-trigger
                    data-type="boolean"
                >
                    AWD
                </th>
            </tr>
        </thead>
        <tbody data-content>
            <tr>
                <td>Ford</td>
                <td>Model A</td>
                <td>1931</td>
                <td>false</td>
            </tr>
            <tr>
                <td>Ford</td>
                <td>Bronco</td>
                <td>1970</td>
                <td>true</td>
            </tr>
            <tr>
                <td>Honda</td>
                <td>CR-V</td>
                <td>2011</td>
                <td>true</td>
            </tr>
            <tr>
                <td>Subaru</td>
                <td>Outback</td>
                <td>2021</td>
                <td>true</td>
            </tr>
            <tr>
                <td>Volvo</td>
                <td>XC-40</td>
                <td>2024</td>
                <td>true</td>
            </tr>
        </tbody>
    </table>
</drab-tablesort>