diff --git a/content/multipledataset.html b/content/multipledataset.html
index 6f0ebacf..6da8c106 100644
--- a/content/multipledataset.html
+++ b/content/multipledataset.html
@@ -221,7 +221,21 @@ draft: false
dtb.empty()
sel_ref = $("#sel_ref")
await doiCache.addRange(window.filt.map((x)=>x.DOI.string))
- for (const el of uniq(window.filt.map(d=>[d.code,d.method,d.DOI]))){
+ for (const el of uniq(window.filt.map(d=>[d.code,d.method,d.DOI])).sort((a,b)=>{
+ if (a[1].method.name==b[1].name) {
+ return 0
+ }
+ else{
+ if(a.method.name=="TBE"){
+ return -1
+ }
+ else if(b.method.name=="TBE){
+ return 1
+ }
+ }
+ return 0
+ }
+ {
$("", {
value: JSON.stringify(el)
}).text(el[1]).appendTo(sel_ref)
diff --git a/static/js/data.js b/static/js/data.js
index 09c645ea..04229ffe 100644
--- a/static/js/data.js
+++ b/static/js/data.js
@@ -161,7 +161,7 @@ class dataFileBase {
this.sourceFile=null
}
get isTBE(){
- return this.method.name="TBE"
+ return this.method.name=="TBE"
}
static async loadAsync(file) {
switch (trueTypeOf(file)) {