update README
add sort function