Update data sorting - small change