A doubt about how to sort wix blog according to views

Hey there!
i am facing a problem in my Wix blog page and i have tried to describe it below.

I want to sort the “custom feed” of my homepage by the number of views. but wix only gives me an option to sort it on the basis of date. It would be great if you can guide me on how to do that.

Not familiar with wix blog but if it is an array, we can do something like :
result.items.sort( ( itemA, itemB ) => itemA.views - itemB.views );