add sort_swap and some another changes
fix code in readme