Am 02.12.2014 um 17:29 schrieb Allin Cottrell:
On Tue, 2 Dec 2014, Sven Schreiber wrote:
I believe the results you get from these calls will depend on the C
library. We should probably generate an error if you try to sort a
matrix containing NaNs since the sort order is indeterminate.
It's clear that the position of nans is undefined after sorting, but I
still think that being able to sort is quite useful/important. Whether
the nans then show up in the beginning or end or in the middle is
irrelevant and the user's responsibility. So almost all of the functions
are ok IMO. Only msortby() does something very odd.
thanks,
sven