Content Manager data sort

Thanks for this, so where within the code do I need to add this?