add array for sort
fix for array.h
finished