Compute the lower-median of a numeric array.
Deterministic: input is sorted ascending with the stable JS sort. For even-length arrays the lower of the two middle elements is returned — this avoids floating-point ties that depend on iteration order.
Numeric samples (will be copied, not mutated)
Lower median, or 0 for empty inputs
Compute the lower-median of a numeric array.
Deterministic: input is sorted ascending with the stable JS sort. For even-length arrays the lower of the two middle elements is returned — this avoids floating-point ties that depend on iteration order.