Array block sort