Sliding, searching, and sorting