diff --git a/lessc.inc.php b/lessc.inc.php index 5c81ad2a..ff887359 100644 --- a/lessc.inc.php +++ b/lessc.inc.php @@ -304,9 +304,9 @@ protected function sortProps($props, $split = false) { } if ($split) { - return array(array_merge($vars, $imports), $other); + return array(array_merge($imports, $vars), $other); } else { - return array_merge($vars, $imports, $other); + return array_merge($imports, $vars, $other); } }