Bugfix: ordering by value column now also works in usedOnly mode when no ids have been passed.