Note that the only version which works is the one without the value parameter:
TableColumn("Rank") { model in
Text("\(model.rank)")
}
If you include the value, even if you also use the housing data item, you'll still get the KeyPathComparator error.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: