{"ScriptPreparationCode":"var users = [\r\n { user: \u0027fred\u0027, age: 48 },\r\n { user: \u0027barney\u0027, age: 36 },\r\n { user: \u0027fred\u0027, age: 40 },\r\n { user: \u0027barney\u0027, age: 34 },\r\n { user: \u0027frank\u0027, age: 12 },\r\n { user: \u0027barry\u0027, age: 38 },\r\n { user: \u0027ted\u0027, age: 19 },\r\n { user: \u0027marshall\u0027, age: 42 }\r\n ];","TestCases":[{"Name":"sort object with orderBy, ascending","Code":"_.orderBy(users, \u0027age\u0027, \u0027asc\u0027);","IsDeferred":false},{"Name":"sort object with sortBy, ascending","Code":"_.sortBy(users, \u0027age\u0027);","IsDeferred":false},{"Name":"sort object with native sort, ascending","Code":"[...users].sort((a, b) =\u003E a.age - b.age);","IsDeferred":false},{"Name":"sort object with orderBy, descending","Code":"_.orderBy(users, \u0027age\u0027, \u0027desc\u0027);","IsDeferred":false},{"Name":"sort object with native sort, descending","Code":"users.sort((a, b) =\u003E b.age - a.age);","IsDeferred":false}]}