def get_pokemon_ids(cur):
    """Returns a list of pokemon (species) ids (as ints) sorted in increasing
    order as stored in the database.

    Args:
        cur: an open sqlite3 cursor created from a connection to a pokemon db
    """

    new_list = []
    query = ('SELECT species_id FROM pokemon')
    cur.execute(query)
    data = cur.fetchall()

    for element in data:
        new_list.append(element[0])

    return sorted(new_list)