def METHOD_NAME() -> list:
    """
    Gets devices ordered by serial
    :return: List of devices ordered by serial
    :rtype: list
    """
    device_manager = openrazer.client.DeviceManager()
    devices = sorted(device_manager.devices, key=lambda x: (str(x.serial), str(x.type)))
    return devices