Skip to content

Commit

Permalink
Merge pull request #327 from jia020/master
Browse files Browse the repository at this point in the history
AUS-4087 Fixed classification sorting issue in NVCLAnalytical form.
  • Loading branch information
stuartwoodman authored Jan 17, 2024
2 parents ff7e15a + 1114abf commit a92620d
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,11 @@ export class NVCLBoreholeAnalyticComponent
this.nvclBoreholeAnalyticService
.getNVCLClassifications(algorithmOutputIds)
.subscribe(classifications => {
classifications = classifications.sort((a,b)=> {
var a1 = a.classText.toLowerCase();
var b1 = b.classText.toLowerCase();
return a1<b1 ?-1:a1> b1? 1 :0;
})
this.classifications = classifications;
});
}
Expand Down

0 comments on commit a92620d

Please sign in to comment.