Python Sorting Code Snippet To Flowchart Creator