function sort(e,r){return e.sort(getComparer(r))}function getComparer(e){var r;switch(e){case"created":default:r=function(e,r){return e.created<r.created?1:e.created>r.created?-1:0};break}return r}export{sort as s};