best_candidates[:most_needed_hours] = available.sort do |a, b|
      a_hours = a[3]
      b_hours = b[3]
      case
      when a_hours < b_hours