list js sort and filter implemented