in visual basic, a routine that puts a series of strings or numbers in order

are called?

pattern