cleaning version sorting, update #1701