modxcms/revolution — pull request #11480 by garryn (2014-06-08 03:20:33+00:00)
Title: Fix incorrect sorting by rank in TV grid on template create/update screen

Fix incorrect sorting by rank in TV grid on template create/update screen - the IF() statements in the underlying query were forcing the sort to use alphanumeric sorting as opposed to natural sorting.

Fixes #6958.