so the code within these two separate sort calls is identical right? sounds like we should define this as a `sortUsersByName` function and re-use it