sorted member ids and converted them to ints