Moving updates on Hanging Protocols from Nucleus to private OHIF branch
This commit is contained in:
1 parent
2a6cb42228
commit
744a0bd76e
7 files changed
+387
-222
No files matched your search
@@ -0,0 +1,8 @@
|
||||
// Sorts an array by score
|
||||
const sortByScore = arr => {
|
||||
arr.sort((a, b) => {
|
||||
return b.score - a.score;
|
||||
});
|
||||
};
|
||||
|
||||
export { sortByScore };
|
||||
Reference in new issue
Block a user