Test jascript list sort