Fix js error on multisort

Signed-off-by: Atul Pratap Singh <atulpratapsingh05@gmail.com>