diff --git a/packages/table/src/util.js b/packages/table/src/util.js index 3c19610a5..f93f14302 100644 --- a/packages/table/src/util.js +++ b/packages/table/src/util.js @@ -28,7 +28,7 @@ export const orderBy = function(array, sortKey, reverse, sortMethod, sortBy) { } const getKey = sortMethod ? null : function(value, index) { if (sortBy) { - if (!Array.isArray) { + if (!Array.isArray(sortBy)) { sortBy = [sortBy]; } return sortBy.map(function(by) {