Vestmark interview question

Given number input array, make so that negative numbers come before positive