Garmin interview question

Sort a list using some algorithm