The Australian sharemarket closed higher on Wednesday, as a surge in technology stocks helped to make up for slump in mining and energy companies’ shares.