add js sort

add js sort