HF RL Explorer

JavaScript Array Sorting by Two Numeric Fields

JavaScript Array Sorting by Two Numeric Fields: a task in Terminal-Lego-15k (Harbor dataset). You are given a JavaScript file containing an array of objects. Each object has two numeric properties: gsize and glow . Your task is to implement a sorting function that sorts the array by two fields :

Part of PrimeIntellect/Terminal-Lego-15k.