@staticmethod
def sort_by(array, key, descending=False):
    return sorted(array, key=(lambda k: (k[key] if (k[key] is not None) else '')), reverse=descending)
@staticmethod
def sort_by(array, key, descending=False):
    return sorted(array, key=(lambda k: (k[key] if (k[key] is not None) else )), reverse=descending)