Fix invalid requirement path
Change sorting snapshots method for switch-symlink task