1. An apparatus comprising: at least one processor coupled to a memory, wherein the at least one processor controls: an acquisition unit that acquires a plurality of pieces of image data; a display control unit that causes a display to display a first screen that is for displaying selection objects each corresponding to a different one of a plurality of image groups that are generated by classifying the plurality of pieces of image data based on image information related to each of the plurality of pieces of image data, and a second screen that is for displaying a plurality of images based on the plurality of pieces of image data acquired by the acquisition unit; and a detection unit that detects selection of a selection object from the selection objects displayed on the first screen, wherein the display control unit causes the display to display the second screen in a case where the detection unit detects the selection of the selection object from the selection objects displayed on the first screen wherein in a case where the second screen is displayed by the display, the display control unit causes the display to display newly, on the second screen, a first plurality of images based on at least more than one piece of image data included in an image group corresponding to the selection object selected on the first screen and a second plurality of images, including at least one image that is not displayed on the first screen, based on at least more than one piece of image data included in an image group corresponding to a selection object that is different from the selection object selected on the first screen, and wherein the first plurality of images displayed on the second screen are displayed in a manner distinguishable from the second plurality of images displayed on the second screen.