concrete5/concrete5 — pull request #465 by jamesshannon (2012-03-22 06:08:34+00:00)
Title: Fixed bug and cleaned up SortByMultiple(). Added docs.

sortByMultiple() used to append to sortByString, even on first call.

So successive calls of ("c1", "c2 ASC", "c3") would create a "c1, c2 ASC, c3c1, c2 ASC, c3".

See http://codepad.viper-7.com/AjFp2b for "proof" that the simpler syntax is equivalent (my unit testing environment isn't set up).