skillbox/client/src/helpers/sorting.js

2 lines
61 B
JavaScript

export const withoutOwnerFirst = (a, b) => a.owner ? 1 : -1;