diff --git a/src/plugin-hooks/useSortBy.js b/src/plugin-hooks/useSortBy.js index a58c626..60c0305 100755 --- a/src/plugin-hooks/useSortBy.js +++ b/src/plugin-hooks/useSortBy.js @@ -296,7 +296,7 @@ function useInstance(instance) { // Return the correct sortFn. // This function should always return in ascending order - return (a, b) => sortMethod(a, b, sort.id) + return (a, b) => sortMethod(a, b, sort.id, sort.desc) }), // Map the directions availableSortBy.map(sort => {