sorting idents