want to input multiple lists of keywords and have them sorted for me

Discussion in 'Programming' started by ahmedragab2014, Oct 29, 2016.

  1. ahmedragab2014

    ahmedragab2014 Newbie

    Joined:
    Oct 29, 2016
    Messages:
    1
    Likes Received:
    0
    Gender:
    Male
    I want to input multiple lists of keywords and have them sorted for me:

    List 1:1

    Audi
    Mercedes
    Jaguar

    List 2:

    Audi
    Ferrari
    Lamborghini

    Output:

    Audi (2)
    Mercedes
    Jaguar
    Ferrari
    Lamborghini

    As you can see in the output if the lists have any duplicate keywords it will add a count (2) each list will keep adding new keywords and stacking the count if there are any duplicates.