Ascena Retail Group has ended its fiscal year on a sound note as it moved to a profit in the fourth quarter and booked higher margins on the back of improved sales.