This PR integrate the version 3.0.2 of Store2Store : array of SortingMode.
Update the example to use filter and sortingMode (buttons)
The example hardcode the filtering and the sorting but this code should be in the backend server, not in the service.
Fix #4
Usage :
new SortingMode("key", sortMode).and("key2", sortMode)...
// or static builder
SortingMode.with("key", sortMode).and(...)
// or arrays of keys and values
new SortingMode(keys, sortModes); // two arrays same dimension
// or array of keys
new SortingMode(keys, sortMode); // array and one sortMode (will apply to all keys)
The example hardcode the filtering and the sorting but this code should be in the backend server, not in the service.
Fix #4
Usage :