def order_keys(hex_sessions):
    """
    Returns list of the hex sessions in (rough) time order.
    """
    orderedKeys = []

    for key in sorted(hex_sessions.keys(), key=lambda key: hex_sessions[key][1]):
        orderedKeys.append(key)

    return orderedKeys