change debug sort

This commit is contained in:
soruh 2023-03-19 00:16:16 +01:00
parent 7d438569ca
commit 49102184ce

View File

@ -148,7 +148,8 @@ impl Debug for PortHandler {
a.state.cmp(&b.state).then(
self.port_state[&a.port]
.last_change
.cmp(&self.port_state[&b.port].last_change),
.cmp(&self.port_state[&b.port].last_change)
.reverse(),
)
});