Update .sort() api calls.