Sort method now prompts user for input