My question is that is there any problem we make sequence of 40 Names as follows
1. First 10 Our Aalime din
2. after that 10 Marhumeen of Family members
3. After that 10 Family members
4. After that relatives and friends .

Someone has told me that if i keep Name of Aalim prior to Parents, its injustice to Parent's rights.

There is no problem.
You can do it as you like.