Javascript array sort Method problem?

See my post about how to get past the limitations of callbacks: