docs: function sort(store, sortKey, descending) {
        var data = store.data.asObject();
        var sortedData = {};
        var keyValueArray = [];
        // Store key value for each data item
        for (var key in data) {
          keyValueArray.push(data[key]);
        }
        // Sort keys
        if (descending) {
          // Use native javascript sort api for string and boolean values
          if (
            typeof keyValueArray[0][sortKey] === "string" ||
            typeof keyValueArray[0][sortKey] === "boolean"
          ) {
            // Default sort
            keyValueArray.sort(function(a, b) {
              return a[sortKey] < b[sortKey] ? 1 : -1;
            });
          } else {
            // Show as object use warning
            vcomet.warn.log(
              "store",
              "asObject() function will reorder sorted data with an integer idProperty"
            );
            // Descending sorting for number values
            keyValueArray.sort(function(a, b) {
              var value =
                (!b[sortKey] ? 0 : b[sortKey]) - (!a[sortKey] ? 0 : a[sortKey]);
              // Avoid empty values
              return value;
            });
          }
        } else {
          // Use native javascript sort api for string and boolean values
          if (
            typeof keyValueArray[0][sortKey] === "string" ||
            typeof keyValueArray[0][sortKey] === "boolean"
          ) {
            // Default ascending sort
            keyValueArray.sort(function(a, b) {
              return a[sortKey] > b[sortKey] ? 1 : -1;
            });
          } else {
            // Show as object use warning
            vcomet.warn.log(
              "store",
              "asObject() function will reorder sorted data with an integer idProperty"
            );
            keyValueArray.sort(function(a, b) {
              var value =
                (!a[sortKey] ? 0 : a[sortKey]) - (!b[sortKey] ? 0 : b[sortKey]);
              // Avoid empty values
              return value === 0 ? 1 : value;
            });
          }
        }
        // Update store data object
        store.data = new Result(keyValueArray, store, true);
      }