Sorting multiple filtered queries

Thanks Amanda,
I’ve already figured it out that I needed to do the sorting once at the end of each if() statement, like this:

if ( sort_option_in_dropdown === “PriceLowtoHigh” ){
wixData . query (“myCollection”) . contains ( “price” , $w ( “#dropdownprice” ). value )) . and ( wixData . query (“myCollection”) . contains ( “piece” , $w ( “#dropdownpiece” ). value )) . and ( wixData . query (“myCollection”) . contains ( “color” , $w ( “#dropdowncolor” ). value )) . ascending (“price”)
. find ()
. then ( ( results ) => {

…and so on…
}

And do the if(){…} statement for each option in the dropdown menu

It works very good to me.