Fix snapshot deletion bug

The getnumkeep list was sorted to bad direction, the dothedelete function
deleted the latest backup.