def sort_population(population):
    """
    Sorts the population based on fitness values

    :param population: population to be sorted
    :return: sorted population
    """
    return sorted(population, key=lambda tup: float(tup[1]), reverse=True)