Datasheet - Sort

Hi tomer… I need more details about this sort coding ! Here’s the code in API tutorial.

$w(“#myDataset”).setSort( wixData.sort()
.ascending(“lastName”)
.descending(“age”)
)
.then( () => {
console.log(“Dataset is now sorted”);
} )
.catch( (err) => {
console.log(err);
} );

If my collection name is : ‘‘PLAYERS_NAME_IMPORT’’ and the Sorting field is ‘‘RECORD’’ in ascending only my code should be :

$w(“PLAYERS_NAME_IMPORT”).setSort( wixData.sort()
.ascending(“RECORD”)
)
.then( () => {
console.log(“Dataset is now sorted”);
} )
.catch( (err) => {
console.log(err);
} );

There’s probably a error because it’s not working!
any informations will help!