The Australian sharemarket rallied in late trade to finish less than a point shy of its record closing high, after government data showed retail sales were softer than expected in January, boosting optimism the Reserve Bank’s interest-rate cuts are gaining traction in its fight against inflation.