factors-generator that first repo... This Python code returns a sorted list of factors of a given number.