add php sorting and update perl sorting
add style guide to readme