array & sort

sort directory includes common sort algorithms, and array directory
includes some common operation on an array.