Sortby Not Working

Hi,

I am using the sortby condition in my .tpl file as follows,

{foreach from=$products|@sortby:"#distnc" item="product" key="key" name="products"}

{* Code *}

{/foreach}

"#distnc" ----> is the variable to sort.

when i am executing the above code it was getting the Service Unavailable error. Anybody please help me to solve the issue.

Regards,

Satya.

Please have a look at the source code of "Service Unavailable" page. There should be description of error.

Please have a look at the source code of "Service Unavailable" page. There should be description of error.

Hi eComLabs,

The error description is as follows,