Array support std::sort

custom compare function is not invoked, i don't know why.