sorted populate test