They do not have the same value before the underscore. “20181229050038” != “20181229050041”
20181229050038_0007.JPG
20181229050041_0008.JPG
You need to configure a video mode. When you first start Shotcut, read what it says about “Automatic” in the New Project view. Image sequences are not considered a “video clip.”