A non-transitory computer-readable storage medium storing a program to cause a computer to perform a method for an information processing apparatus having a plurality of functions, the method comprising:
- performing display control to display, on a screen, a plurality of buttons, wherein each of the plurality of buttons corresponds to a different one of the plurality of functions;
- performing reordering to automatically reorder the plurality of buttons;
- performing display control to display a setting screen on which enabling or disabling of the reordering of the plurality of buttons can be set;
- setting the reordering of the plurality of buttons to enabled or disabled based on a setting accepted on the setting screen;
- and
- storing the setting accepted on the setting screen,
- wherein, in a case where the reordering is set to enabled in the setting, the reordering of the plurality of buttons is performed in the reordering, and in a case where the reordering is set to disabled in the setting, the reordering of the plurality of buttons is not performed in the reordering.