Criminal record of nasty type stealing wandering sheep (3,5)
I believe the answer is:
rap sheet
'criminal record' is the definition.
(a rap sheet is a police record)
'nasty type stealing wandering sheep' is the wordplay.
'nasty type' becomes 'rat' (I am not sure about this - if you are sure you should give a lot more credence to this answer).
'stealing' indicates putting letters inside.
'wandering' indicates anagramming the letters.
'sheep' with letters rearranged gives 'pshee'.
'rat' enclosing 'pshee' is 'RAP SHEET'.
'of' acts as a link.
Can you help me to learn more?
(Other definitions for rap sheet that I've seen before include "Criminal record, colloquially" , "Where to find previous" , "record of arrests" , "'Written record of charges (3,5)'" .)