Issues/1336 duplicate users

Fix issue #1336. Users were appearing more than once in the lists associated with organisations because   when the positions were sorted people with the same surname were getting mixed up together.