Sort Problem

Subject: Sort Problem
From: charbel.keyrouz@xxxxxxxxxxxxxxxx (SoftLiban KEYROUZ Charbel)
Date: Fri, 23 Jun 2000 14:03:38 +0300
I am trying to pass this parameter
<xsl:param name="sortBy" select="default"/>
to the sort command
<xsl:apply-templates select="Supplier">
  <xsl:sort data-type="number" select="{$sortBy}"/>
but I am getting this error:
Error in xsl processing pattern = '{$sortBy}'
Extra illegal tokens: '$', 'sortBy}'
What is wrong with this call?
My objective is to call the sort depending on a user selection which is
passed to the template using parameters.

 XSL-List info and archive:

Current Thread