Posted on 22/10/2019 14:30:24
Nope - not easy anyways.
You can create a custom field for products, call it "SoldItemsLast30Days" or something. Then create SQL that will update products set SoldItemsLast30Days = (sub query of sales) and use a scheduled task that executes that SQL every 24 hours/7 days.
Then the field will automatically be indexed and you can use it for sorting.
BR Nicolai