Sort libraries (GREEN first, then alpha) and locations (alpha).

Closes #536 

### 492502
#### Before
![492502-before](https://cloud.githubusercontent.com/assets/96776/3884067/5e8a1b46-21a9-11e4-9889-5cefe686e6e1.png)

#### After
![492502-after](https://cloud.githubusercontent.com/assets/96776/3884066/5e89a332-21a9-11e4-8943-e2df8b5f9167.png)

### 464019
#### Before
![464019-before](https://cloud.githubusercontent.com/assets/96776/3884068/5e933bae-21a9-11e4-9d70-110aaf42f2be.png)

#### After
![464019-after](https://cloud.githubusercontent.com/assets/96776/3884069/5e970374-21a9-11e4-85ad-9a0113dfe29a.png)