diff --git a/Classes/ViewHelpers/Format/JoinViewHelper.php b/Classes/ViewHelpers/Format/JoinViewHelper.php
index <HASH>..<HASH> 100644
--- a/Classes/ViewHelpers/Format/JoinViewHelper.php
+++ b/Classes/ViewHelpers/Format/JoinViewHelper.php
@@ -60,6 +60,6 @@ class JoinViewHelper extends AbstractViewHelper
             $array = $renderChildrenClosure();
         }
 
-        return implode($array, $arguments['separator']);
+        return implode($arguments['separator'], $array);
     }
 }
Apply correct order for implode statement in JoinViewHelper