**Problem Statement:**
Given the required input arguments, write an efficient algorithm to solve the **Non-overlapping Intervals** problem. Implement the required logic as specified by standard definitions for this classic algorithmic challenge.
**Hint / Expected Approach:**
Sort by end; greedily keep most compatible
**Edge Cases to Consider:**
- (1) No overlaps
- (2) All overlap
- (3) Intervals sharing just an endpoint