Compare Steps function ready to array splice