[bugfix] array were not sorted when we change fsortBy