laravel/framework — pull request #2408 by MisterDr (2013-10-04 15:50:38+00:00)
Title: [Proposal] Add ORDER BY FIELD function which will order the objects by the fields which is specified in the array

* Changed Query/Builder to contain the orders by field public variable
* Added function to fill the orders by field

* Added orderbyfield compile flag to the Query/Grammars/Grammar.php
* Added procedure compileOrderbyfield which compiles the orders by field