Buy Sortr.

Choose the size of your library. You pay once, by card.

Not sure how many photos you have? On iPhone, open Photos and scroll to the bottom of your Library. Count photos and videos together.

Before you sort, get your photos onto your computer with iCloud for Windows, or by exporting from Photos on a Mac.