These methods are used to set the sorting function for the primary and secondary parts.
The example on the left is using the default sorting functions for primary and secondary parts which is d3.ascending
.
The example on the right is using custom sort function for primary and secondary parts.
For other options and examples, check VizJS