Skip to content

Commit 94e123f

Browse files
author
bjvickers
committed
feat: add support for descending sort
removed require as code is now isomorphic
1 parent b3ba29d commit 94e123f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,6 @@ module.exports = sortBy
8888
* ```
8989
*/
9090
function sortBy (recordset, sortBy, sortTypes, namedConfigs) {
91-
const arrayify = require('array-back')
92-
9391
// First stage data preparation
9492
recordset = arrayify(recordset)
9593
sortBy = arrayify(sortBy)

0 commit comments

Comments
 (0)