This is the second and last piece for sorting AGIPD dark runs
Expected patterns to use for sorting dark runs are:
For Adaptive gain mode: All 3 runs have XRay patterns. On the other hand for fixed gain mode we expected DarkHG, DarkMG, and DarkLG patterns
For AGIPD1M patterns can be checked from ctrl_src/patternTypeIndex
for the integer value or ctrl_src/patternType
for the string value.
However, AGIPD500K patterns can be checked from ctrl_src/expTypeIndex
with integer value or expType
for the string value.
Run order for fixed gain can only be decided using the gain modes.