Timeline for Sort array of hashes with nil values last
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 12, 2016 at 1:27 | history | edited | Nakilon | CC BY-SA 3.0 |
deleted 143 characters in body
|
May 12, 2016 at 1:27 | comment | added | Nakilon |
@Zack, oh, understood. Rarely using #sort I forgot about that. Thank you for note.
|
|
May 11, 2016 at 19:42 | comment | added | Zack |
The -1,0,1 values are the the result of the manual a<=>b comparison happening in the sort block. They are the expected return values.
|
|
May 11, 2016 at 18:40 | history | answered | Nakilon | CC BY-SA 3.0 |