a routine that puts a series of strings or numbers in order is called a ________