/pgs/administrator/components/com_virtuemart/models/product.php
public function getNeighborProducts($product ,$onlyPublished = true, $max=1) {
the above function doesn't bring the products in the order ( in the admin all the products in category are working properly when sorting is applied) but no effect on the front end (sorting is applied according to the slug. it's suppose to be according to the order selected in the admin->config->product order sorting).
please help.
thanks in advance.