path

Specifies the path to the value to compare when sorting. The path is a string of the form field.subField:

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