enhance Core.ArrSort: order specified