@webdeveric/utils
    Preparing search index...

    Function getSortedObject

    Recursively sort the keys of data, optionally using a custom compareFunction.

    getSortedObject({ b: 2, a: 1 }); // { a: 1, b: 2 }