support ArraySort