We want ability to add sorting mechanism for CQ Asset share page which will enable users to sort the assets listed on the page based on different attributes.
Any pointer on how to do this will be really appreciated.
You can sort assets stored in the JCR based on different props. For example, you could write an OSGi component that queries assets, sorts them based on a specific property, and then return a reset set to the page where they are displayed. Everything in CQ is just a resource. You can get at that resource using an API like JCR SQL/JCR API and sort it.