sorted paths