Sort

2

3

50

1

ABC

AAA

AAB

Parameters (Blade)

Key Default value Type Available values Description
string - Outer container
asc and desc string - In what order to sort data
unique id string - The button to click for sort
string - The container where the sortables will be appended
string - The element to be sorted
button id string - The data to sort on
asc and desc string - An optional attribute on the container to have an initial order on the items
string - The DOM id of the component.
[] array - Array containing wrapping classes array
[] array - Array containing keys and values rendered as attributes