After searching and sorting, Property Inspector can select the first, last of group of items in the results programmatically. PI5 can then export any number of visible result fields to the log file.
This macro will log the item details of the oldest, largest, most clones and most callers to a file:
PI Log C:\Temp\PI Logs\Project Item Details for %NAME.txt
Select None
Sort Date
Select First
Log Oldest Item
PI Logcols Date, Name, Path
Select None
Sort Data Size Desc
Select First
Log Largest Data Item
PI Logcols Data Size, Name, Path
Select None
Sort Total Data Size Desc
Select First
Log Largest Total Size Item
PI Logcols Total Size, Name, Path
Select None
Sort Clones Desc
Select First
Log Most Clones Item
PI Logcols Clones, Name, Path
Select None
Sort Callers Desc
Select First
Log Most Callers Item
PI Logcols Callers, Name, Path
PI Log