def validate(st: SubTransaction): st.validate()
def execute(st: SubTransaction): for x in st.queue: st.process(x)
def sort(st: SubTransaction): st.queue = sorted(st.queue, key=lambda x: natural_order(str(x)))