ar = new Array()
ar = {"key1":"value1 ", "key2":"val ue2, "key3":"value3" };
Anybody knows how to sort such arrray by values ? I've tried writing the
comparing function and than
ar.sort(myCompa reFunction)
but there appears an error: "ar.sort is not a function"
Best regards,
ABS
ar = {"key1":"value1 ", "key2":"val ue2, "key3":"value3" };
Anybody knows how to sort such arrray by values ? I've tried writing the
comparing function and than
ar.sort(myCompa reFunction)
but there appears an error: "ar.sort is not a function"
Best regards,
ABS
Comment