To sort all images in the input stack according to a selected header parameter, this logic can be used.

Parameters Description
Header key to use List of available header keyes to sort by (full list, see below). By selecting “customHeaderKey”, the user can specify a custom key that will be used for sorting.
→ Custom header key State a key, that shall be used for sorting.
Ascending sorting If checked, the stack of images will be sorted in ascending order. If not, it will be sorted in descending order.

Available header keys to use for sorting:

  • imageID
  • cccPeakHeight
  • clusterMember
  • classSize
  • numImagesInSum
  • referemceData
  • classID
  • customHeaderkey
    • Custom header key