England and Sri Lanka played their last match of the ICC T20 world cup 2022 super 12 stages in Sydney.