Data-driven function sequenceing system