Sort by count of letters.Check for words that begin with the same letter.Check if a word is completely present in another word.when both begin with the same letter.If it is completely present.show only the first word and ignore the second word

```
var arraylist = ["running", "walking", "standing", "writing", "waiting", "sleeping", "reading", "washing", "sitting", "riding", "shopping", "singing", "painting", "watching", "swimming", "pulling", "smoking", "pushing", "drinking", "dancing", "cooking", "crying   ", "eating", "smiling","run", "walk", "push", "cook", "cry", "eat"];

```

Expecting Output using javascript/jquery:

I need to remove these words: running, walking, pushing, cooking, crying, eating.

```
var arrayList = ["run", "walk", "standing", "writing", "waiting", "sleeping", "reading", "washing", "sitting", "riding", "shopping", "singing", "painting", "watching", "swimming", "pulling", "smoking", "push", "drinking", "dancing", "cook", "cry", "eat", "smiling","run", "walk", "push", "cook", "cry", "eat"];

```