These more technical links may only be useful to Raja.
Hannon Hill Script Formats
http://www.hannonhill.com/kb/Script-Formats/#velocity-tools
Profiles Chunk macro
On 2016-05-03, Michael Stephens asked on the IU Web Community #framework channel on Slack if anyone knew about problems with sorting Profiles in the feed. Rohit Chandran responded with this code snippet.
https://sites.wcms.iu.edu/entity/open.act?id=d5a4777b814f4e10376a5dddbe2a337c&type=format
He pointed out that lines 15-16 sort by last name and first name, and said, "You can override this behavior in your local site (with your own macro that overrides this one) to sort the profiles any way you like. Hope this helps." It's not a very user-friendly answer, but it gives an intriguing look at some powerful, low-level stuff. I think it's a glimpse of what would be needed to customize the chunks ourselves.
