Array first element. Array.sort();. array и std::array различия. sort array logic. is array sorted from max to min.