moved arrIsUnique functions into util
sorting of devices and signals