Mweb 965

Do not merge
what about simplifying this function?

``` JS
function buildSort(sort) {
    var sortType = mapConfig.sortingOptions[sort];

    return sortType ? sortType : mapConfig.sortingOptions.created_on;
}
```