Bootstrap 4 table sort - examples & tutorial. Basic ...
mdbootstrap.com › docs › b4Sorting options Using the order initialisation parameter, you can set the table to display the data in exactly the order that you want. The order parameter is an array of arrays where the first value of the inner array is the column to order on, and the second value is asc (ascending ordering) or desc (descending ordering) as required.