Task: Sort Array of Objects by Numeric Property Value
Task: Sort Array of Objects by Numeric Property Value: a task in Terminal-Lego-15k (Harbor dataset). You are given a JSON file containing an array of location objects. Each object has the following properties: - distance : A numeric value representing distance in meters - duration : A string…
The task
You are given a JSON file containing an array of location objects. Each object has the following properties: - `distance`: A numeric value representing distance in meters - `duration`: A string representing travel duration - `from`: A string representing the origin address
Part of PrimeIntellect/Terminal-Lego-15k.