Any ideas?

I am looking to fill a hopper with these and have them all come out in an orderly line and facing the same direction (preferably the larger diameter side down just as it is pictured). Would anyone happen to have an idea on how to solve this issue? Any help is appreciated.

Typically, one would rotate a disc under the hopper. The disc would have holes in that are small enough for the upper part, but smaller than the flange diameter. Once you have the parts with the flange up, turn them over.

PaulS:
Typically, one would rotate a disc under the hopper. The disc would have holes in that are small enough for the upper part, but smaller than the flange diameter. Once you have the parts with the flange up, turn them over.

Would you happen to have link to a picture? I work better visually.

Have a surface/belt/disc with holes slightly larger than the top diameter in the image.
Place a vertical surface/wall on top of the holed surface raised up by the height of the flange plus a bit.
The holed surface advance under the wall, those parts that fall into a hole are allowed to proceed under the wall.

.

This is indeed solved mechanically normally (do a search on YouTube, there just has to be videos about it). No Arduino involved.

.