test sorting strings