Search

Need some quick help. I have a text field that has numbers in it. How can I get the datasource to sort numerically in descending order?

Sorting a text field will always give you text-based sorting. You are going to be much better off using the Number Field.

Thanks bauhouse. I used Number Field and it worked perfectly. I would be interested in learning more custom datasource sorting techniques.

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details