add emacs resource
add sort algorithm and emacs config