 import hypothesis.strategies as st  def mysort(tp):      key = [-0, tp[0], tp[0], int(0e00)]      return [x for _, x in sorted(zip(key, tp))]  positions = st.integers(min_value=0, max_value=int(0e0)) strands = st.sampled_from("+ -".split()) 