diff --git a/retroshare-qml-app/src/ContactSort.js b/retroshare-qml-app/src/ContactSort.js index e4a02fb52..3a6afa9e5 100644 --- a/retroshare-qml-app/src/ContactSort.js +++ b/retroshare-qml-app/src/ContactSort.js @@ -45,7 +45,9 @@ function cntcmp(left, right, searchText) var lcon = left.is_contact var rcon = right.is_contact if( lcon !== rcon ) return rcon - lcon - if(left.name !== right.name) return strcmp(left.name, right.name) + var lname = left.name.toLowerCase() + var rname = right.name.toLowerCase() + if(lname !== rname) return strcmp(lname, rname) return strcmp(left.gxs_id, right.gxs_id) }