Index: /mods/wpsg_mod_statistics.class.php
===================================================================
--- /mods/wpsg_mod_statistics.class.php	(revision 6040)
+++ /mods/wpsg_mod_statistics.class.php	(revision 6043)
@@ -917,16 +917,34 @@
 		
 			$fp = fopen($path.'/wpsg_productStatistic.csv', 'w');
-			fputcsv($fp, array_keys($this->shop->view['odata'][0]), ';');
+			$temp = utf8_decode('StÃŒck');
+			$ak = array('Bestell-ID' => 'Bestell-ID',
+					'Name' => 'Name',
+					'Vorname' => 'Vorname',
+					$temp => 'StÃŒck',
+					'e-Mail' => 'e-Mail',
+					'Telefon' => 'Telefon');
+						
+			fputcsv($fp, array_keys($ak), ';');
+			//fputcsv($fp, array_keys($this->shop->view['odata'][0]), ';');
+			
 			foreach ($this->shop->view['odata'] as $e)
 			{
 					
+				// Array umordnen
+				$es = Array('Bestell-ID' => $e['onr'],
+						'Name' => $e['name'],
+						'Vorname' => $e['vname'],
+						'Stueck' => $e['menge'],
+						'e-Mail' => $e['email'],
+						'Telefon' => $e['telefon']
+						);
 				// ZeilenumbrÃŒche entfernen
 				if (get_option('wpsg_impexp_clearlinebreak') === '1')
 				{
-					foreach ($e as $k => $v) { $e[$k] = preg_replace('/\r|\n/', '', $v); }
+					foreach ($es as $k => $v) { $es[$k] = preg_replace('/\r|\n/', '', $v); }
 				}
 					
-				fputcsv($fp, $e, ';', '"');
-					
+				fputcsv($fp, $es, ';', '"');
+				
 			}
 			fclose($fp);
