Sort list output by a JSONPath-like field.
Section: Inspection and Deep Queries
Sort resources
bash
bash
kubectl get pods -n payments --sort-by=.status.startTimeExplanation
Sort list output by a JSONPath-like field.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Inspection and Deep Queries