I recently saw in the W3Schools html tags reference two attributes I don't quite understand. The first is the <table sortable="sortable"> attribute, and the second is <th sorted="sorted"> attribute.
According to W3Schools, the sortable attribute description is:
Specifies that the table should be sortable
And the description for the sorted attribute is:
Defines the sort direction of a column
And the values the sorted attribute accept are:
reversed
number
reversed number
number reversed
I tried to follow the W3C documentation here about how to use those attributes but it doesn't works for me.
I would be very thankful for an answer. Thank you.