api select latest feature

Hi,

How do I select the latest feature in Solidworks API?

Anyone has a macro or suggestion which method is the best?

Thanks

SolidworksApi macros