|
|
@@ -388,6 +388,11 @@ impl FlowCells {
|
|
|
|
|
|
Ok(())
|
|
|
}
|
|
|
+
|
|
|
+ /// Sorts `flow_cells` in-place from oldest (`modified` smallest) to newest.
|
|
|
+ pub fn sort_by_modified(&mut self) {
|
|
|
+ self.flow_cells.sort_by_key(|fc| fc.modified);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
/// Represents a fully described flowcell unit, including experimental metadata,
|