c9s/Pux — pull request #31 by aasiutin (2014-02-02 16:19:21+00:00)
Title: make routes sort optional in Pux\Mux::compile method

When compiling routes they are always sorted. So for code written below route "/product" becomes unreachable after sort.

```php
$mux = new Mux;

$mux->add("/product", ["ProductController", "listAction"]);
$mux->add("/product/:id", ["ProductController", "ItemAction"], [
"require" => [ "id" => "\d+" ],
"default" => [ "id" => "1" ]
]);

$mux->compile("app/mux.php");
```

It would be nice to have optional parameter to prevent sort procedure.

```php
$mux->compile("app/mux.php", $sortBeforeCompile = false);
```