While reviewing search sorting, equal-priority jobs must retain arrival order. Which action best addresses the problem?
Answer options
- A. Compare the midpoint and discard half
- B. Use a stable sorting method
- C. Make the comparator transitive
- D. Use rank selection instead of full sorting