class example
need to complete sort exercise