Adding option to select algorithm to sort
Adding logic for when --import option is selected