Hello - I need some help with formatting a popup. I want to display my data in a grid format. I'm using the below Arcade expression. How do I add the formatting? I'm new at Arcade and I've tried to find examples online, but not having any luck.
The current result is:

Want:

var harvestLayer = FeatureSetByName($map, "Harvest Tracking v4 Analysis View");
var currentFeatureID = $feature.UCode;
var relatedRecords = Filter(harvestLayer, "BlockCode = @currentFeatureID");
var result = "";
for (var record in relatedRecords) {
var sampleBlockName = record.SampleBlockName;
var sampleDate = Text(record.SampleDate, "MM/DD/YYYY");
var brix = record.Brix;
result += sampleBlockName + " " + sampleDate + " " + brix + TextFormatting.NewLine;
}
// Return the result
return result;