#5706 Ensemble paramemter operator less orders larger variance first

This commit is contained in:
Jacob Støren
2020-03-23 11:53:07 +01:00
parent 0accbfdd0d
commit 7370aa1bad

View File

@@ -89,7 +89,7 @@ bool EnsembleParameter::operator<( const EnsembleParameter& other ) const
{ {
if ( this->variationBin != other.variationBin ) if ( this->variationBin != other.variationBin )
{ {
return this->variationBin < other.variationBin; return this->variationBin > other.variationBin; // Larger first
} }
return this->name < other.name; return this->name < other.name;