Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
call values() on the sorted array to reset the keys
without calling `values`, the returned array format in not consistent: sometimes a numbered array if returned (if sort happened to not change the order) or an assoc array (in case sort did actually move items around and kept their index).
- Loading branch information