//! Process discovery helpers built on top of `sysinfo`.
//!
//! The helpers in this module normalize process snapshots into a small
//! application-facing type, making UI components independent of raw crate APIs.
use System;
/// Simplified running-process descriptor for UI selection controls.
/// Returns a sorted list of currently running processes.
///
/// Sorting order is name-first and PID-second so users get stable,
/// predictable selector behavior between refreshes.