Fixed issue in truncate HTML function
Added missing sort order in like details