some snippets about sort algorithms
ignore the .DS_Store file