Thanks for puzzling this out. Here’s an example that works in Ruby. Note the VALUES key
{
filterGroups: [
{
filters: [
{
operator: 'IN',
propertyName: 'dealstage',
values: ['closedlost', 'closedwon']
}
]
}
],
sorts: [{ direction: 'ASCENDING', propertyName: 'dealname' }]
}