modified itemIDs from HashSet to LinkedHashSet for sequence processing