import random


def _order_alternatives(alts):
    """ Pop don't know alts, randomize and append "don't know" alt last """
    new_alts = []
    no_answer = []
    for alt in alts:
        if alt['no_answer']:
            no_answer.append(alt)
        else:
            new_alts.append(alt)

    random.shuffle(new_alts)
    return new_alts + no_answer