Add two ways sort order to table_JS