Subset iteration with guaranteed order