#248 ✓resolved
MadRabbit

Array#sort enhancement

Reported by MadRabbit | May 21st, 2010 @ 06:18 PM | in 2.0.0 Release

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.

Comments and changes to this ticket

  • MadRabbit

    MadRabbit May 22nd, 2010 @ 05:08 PM

    • 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.

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

RightJS Core Tickets

Shared Ticket Bins

People watching this ticket

Pages