To enhance user experience, it is suggested to implement a feature that preserves the current sort order after viewing a contact's details. This would allow users to efficiently navigate through sorted contact lists without repeatedly re-sorting.
Essentially, the system should remember the applied sort criteria and maintain the sorted order even after viewing a contact's profile.