Skip to content

Commit

Permalink
ok make it alphabetical instead
Browse files Browse the repository at this point in the history
  • Loading branch information
korewaChino committed Oct 7, 2023
1 parent c10d361 commit ee61827
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,8 @@ impl PartitionLayout {
// / should always come first
std::cmp::Ordering::Greater
} else if am == bm {
a.mountpoint.len().cmp(&b.mountpoint.len())
// alphabetical order
a.mountpoint.cmp(&b.mountpoint)
} else {
am.cmp(&bm)
}
Expand Down

0 comments on commit ee61827

Please sign in to comment.