Sort Cask file