add two encoder
sorted csv
add encode method