def create_list(): input_list = pyperclip.paste().split('\n') input_list.sort(key=float) return input_list