created a percentage timer for sorting