Fixed file table sort and saving of packages