EllisLab/CodeIgniter — pull request #809 by pporlan (2011-12-22 11:19:52+00:00)
Title: Adding $escape parameter to the order_by function, this enables ordering...

This enables the use of custom fields, functions... in the order_by function for example:

SUBSTR(table.field,2,5)