Sorting devices alphabetically.