Look at the top three cards of target player's library, then put them back in any order. You may have that player shuffle.
Draw a card at the beginning of the next turn's upkeep.
This does not cause a player to lose if they have less than 3 cards in their library. It allows you to look at and reorder or shuffle whatever remaining cards there might be.