Views PHP sorting rule about stock
I want to sort a view so that all the products that are not available be at the end. I do not want, however, to sort the available products by stock (say, alphabetically).
I asked a queation about that at http://drupal.stackexchange.com/questions/70196/how-to-sort-a-view-so-th...
and have been wisely suggested to look at the at Views PHP module. However, I can't access the stock value form Views PHP. What should the rule be like?