fix: contacts sorting bug