revert fix ##79519

This commit is contained in:
Sandeep Somavarapu 2019-09-02 14:39:28 +02:00
parent dc5e052507
commit f84c7c7882

View file

@ -381,7 +381,7 @@ export class ContributableViewsModel extends Disposable {
return 0;
}
return (this.getViewOrder(a) - this.getViewOrder(b)) || this.getGroupOrderResult(a, b);
return (this.getViewOrder(a) - this.getViewOrder(b)) || this.getGroupOrderResult(a, b) || (a.id < b.id ? -1 : 1);
}
private getGroupOrderResult(a: IViewDescriptor, b: IViewDescriptor) {