example of sorting reels in D