Energy and real estate stocks led the Australian sharemarket into the green on Friday, after Wall Street welcomed the new year with a volatile session.