use $timeout to update sort order on next event loop