a program can sort a list