added user sorting