The ASX finished higher on Friday after a choppy start to trading, with investors taking a shine to higher commodity prices.