This program can be used to sort through a large list of integers. For example, collecting a list of student birth dates to understand how many students are born in the same number (day of the month).
// Given a stack, the task is to sort it such that the top of the stack has the greatest element.