Update scheduler.py

the result of keys command is unsorted, this makes no difference in pplns but in prop there maybe a block credited before a block which solve_time is older than it ant will trigger error in chain calc_shares, so i think we should sort unproc_blocks by solve_time