compare_asset_fallback

Function compare_asset_fallback 

Source
fn compare_asset_fallback(asset1: &Asset, asset2: &Asset) -> Ordering
Expand description

Compare assets as a fallback if metrics are equal.

Commissioned assets are ordered before uncommissioned and newer before older.

Used as a fallback to sort assets when they have equal appraisal tool outputs.