Rather than dumping array functionality into darray.hpp, let's move it to utils/array. Yes. Implemented array sorting using smoothsort, which is neat and hopefully a good general-purpose sorting algo.