Use Abseil container algorithms in video/

Bug: None
Change-Id: Ia1419e14004d4a849dc0960a0501c25e6e50aeee
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/129560
Reviewed-by: Åsa Persson <asapersson@webrtc.org>
Commit-Queue: Steve Anton <steveanton@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#27362}
diff --git a/video/video_analyzer.cc b/video/video_analyzer.cc
index 6535133..b72048e 100644
--- a/video/video_analyzer.cc
+++ b/video/video_analyzer.cc
@@ -12,6 +12,7 @@
 #include <algorithm>
 #include <utility>
 
+#include "absl/algorithm/container.h"
 #include "common_video/libyuv/include/webrtc_libyuv.h"
 #include "modules/rtp_rtcp/source/rtp_format.h"
 #include "modules/rtp_rtcp/source/rtp_utility.h"
@@ -738,10 +739,9 @@
 void VideoAnalyzer::PrintSamplesToFile() {
   FILE* out = graph_data_output_file_;
   rtc::CritScope crit(&comparison_lock_);
-  std::sort(samples_.begin(), samples_.end(),
-            [](const Sample& A, const Sample& B) -> bool {
-              return A.input_time_ms < B.input_time_ms;
-            });
+  absl::c_sort(samples_, [](const Sample& A, const Sample& B) -> bool {
+    return A.input_time_ms < B.input_time_ms;
+  });
 
   fprintf(out, "%s\n", graph_title_.c_str());
   fprintf(out, "%" PRIuS "\n", samples_.size());