A non-transitory, computer-readable medium storing computer-readable instructions therein that, when executed by a processor of a recording medium post-processing apparatus which comprises (i) a stacker configured to be stacked with a plurality of sheet-like recording media with images being recorded thereon, (ii) an alignment device configured to apply an external force to the plurality of recording media stacked on the stacker so as to align the plurality of recording media stacked on the stacker, and (iii) a receiver configured to receive a kind of a currently-stacked-recording-media that is a plurality of recording media being currently stacked on the stacker, cause the recording medium post-processing apparatus to perform the steps of:
- setting a reference number to a first value when a kind of the currently-stacked-recording-media is a first kind of the recording media;
- setting the reference number to a second value when a kind of the currently-stacked-recording-media is a second kind of the recording media, the second value being less than the first value, a friction coefficient of the second kind of the recording media being larger than that of the first kind of the recording media;
- obtaining a number of a currently-stacked-recording-media;
- controlling the alignment device to apply the external force to the currently-stacked-recording media when the number of the currently-stacked-recording-media reaches the reference number.