PVE::APIClient::Helper::print_ordered_result - correctly declare local var