[js] Array.sort(): expose array_lookup() needed for sort()
[js] Array.sort() initial implementation - comparefn not supported. String comparison not done properly yet