diff --git a/src/utils/index.ts b/src/utils/index.ts index 21791d0..1536805 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -27,7 +27,7 @@ const sortSequence = (sequence: Array, sortOnField = "sequ // Sort undefined values at last if(a[sortOnField] == undefined) return 1; - if(b[sortOnField] === undefined) return -1; + if(b[sortOnField] == undefined) return -1; return a[sortOnField] - b[sortOnField] })