sort

Gets or sets the sort expression for the DataSource. If the initialization options specify a sort expression, this property contains the initial sort expression.

var dataSource = new shield.DataSource({
    sort: { path: "price", desc: true }
});

dataSource.sort.desc = false;
dataSource.read().then(function (data) {
    //data is sorted by price ascending
});