Finished other codes except sort strings.