Add sortByName() function

Because the ordering of metrics returned by a wildcard search is not guaranteed to be consistent, a function to re-order metrics by name is required.

This implements `sortByName()` which will sort the series list returned in ascending order based on the series name.

Example before applying `sortByName()`,

![screenshot 12 10 13 12 16 pm](https://f.cloud.github.com/assets/79608/1716304/fe821302-61be-11e3-9828-61d39907aca6.png)

and after,

![screenshot 12 10 13 12 18 pm](https://f.cloud.github.com/assets/79608/1716311/1d862068-61bf-11e3-837e-061e752335ab.png)

Relates to:
https://github.com/graphite-project/graphite-web/pull/474
https://github.com/graphite-project/graphite-web/issues/473
https://github.com/graphite-project/graphite-web/issues/458

Duplicates:
https://github.com/graphite-project/graphite-web/pull/419