I want to sort array i use this code i found here and now i wonder how to add option to check if address is in this array and then replace not add as new item. Should i use anot