Australia's share market has ended the day higher after strength in miners, energy and IT stocks helped counterbalance weakness elsewhere.