If your filenames are all the same length, you could also try sorting them using e.g., the following custom sort:
{filenamebase:8}_{filenamebase:0,8}
This will put all the files with an "A" as last (actually, ninth) character in their name, together. This allows you to review the duplicates and remove them easily.
Hope this helps,
Hayo