@staticmethod
def queue_compare(schedule1, schedule2):
    """
        Compares two schedules for sorting queued nodes.

        :param enarksh.controller.Schedule.Schedule schedule1: Schedule 1.
        :param enarksh.controller.Schedule.Schedule schedule2: Schedule 2.

        :rtype:
        """
    return schedule1.get_schedule_load() - schedule2.get_schedule_load()
