Basic version of VAT with updated data sets after sorting the data
Baisc VAT version