Is there a way to have a column in a Sonata Admin list that uses a calculated value as the sort by ??
Something like this: ( this does NOT work )
$mapper->add('stock', null, [
'sortable' => '(stock.real - stock.inCustomerOrder)',
]);