The current carrying solenoid when suspended freely, will rest along the N-S direction. The reason is that it will behave like a bar magnet, with N polarity at one face of solenoid and S polarity at the other face, depending upon the direction of current in the solenoid.
Current carrying solenoid behaves like a bar magnet. At end in which direction of current is anticlockwise, behaves as north pole and where current is in clockwise direction behaves as south pole. Therefore on suspending it freely, set it self in North-South direction as bar magnet does.