Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Array#sort enhancement

#248

Seems like this native method doesn't sort some values without a proper callback function on some browsers. Plus it not always returns the array back.

Would be nice to check the things out and fix it.

Reported by MadRabbit · May 21st, 2010 @ 06:18 PM

State: resolved
Milestone: 2.0.0 Release
Assigned to: nobody

Activity

  1. MadRabbit
    MadRabbit
    • State changed from new to resolved

    The problem was with the numeric values only, JavaScript sorted them as strings by default, so I've added a handler that sorts numbers properly by default.

    May 22nd, 2010 @ 05:08 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.