addon/utils/discover-page.js
function sortContributors(contributors) {
    return contributors
        .sort((b, a) => (b.order_cited || -1) - (a.order_cited || -1))
        .map(contributor => ({
            users: Object.keys(contributor).reduce(
                (acc, key) => Ember.assign(acc, { [Ember.String.camelize(key)]: contributor[key] }),
                { bibliographic: contributor.relation !== 'contributor' }
            )
        }));
}
function sortContributors(contributors) {
    return contributors
        .sort((b, a) => (b.order_cited || -1) - (a.order_cited || -1))
        .map(contributor => ({
            users: Object.keys(contributor).reduce(
                (acc, key) => Ember.assign(acc, { [Ember.String.camelize(key)]: contributor[key] }),
                { bibliographic: contributor.relation !== 'contributor' }
            )
        }));
}
function sortContributors ( contributors ) { return contributors . sort ( ( b , a ) => ( b . order_cited || - 1 ) - ( a . order_cited || - 1 ) ) . map ( contributor => ( { users : Object . keys ( contributor ) . reduce ( ( acc , key ) => Ember . assign ( acc , { [ Ember . String . camelize ( key ) ] : contributor [ key ] } ) , { bibliographic : contributor . relation !== 'contributor' } ) } ) ) ; }
Sort contributors by order cited and set bibliographic property

@private
@method sortContributors
@param {List} contributors - list.contributors from a SHARE ES result
@return {List}
Sort contributors by order cited and set bibliographic property