- Improved sorter_rank.
- Improved cursor line behavior.