refactor: Use sorting functions from `slices` instead of `sort` by alexandear · Pull Request #4020 · google/go-github

@alexandear

Because sorting functions from the slices package are easier to use than those in sort.

@alexandear alexandear changed the title refactor: Use sorting function from slices instead of sort refactor: Use sorting functions from slices instead of sort

Feb 16, 2026

@alexandear

@codecov

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.04%. Comparing base (65f17d5) to head (0c4bf6c).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4020      +/-   ##
==========================================
- Coverage   94.04%   94.04%   -0.01%     
==========================================
  Files         207      207              
  Lines       19174    19170       -4     
==========================================
- Hits        18033    18029       -4     
  Misses        939      939              
  Partials      202      202              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

gmlewis

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.