refactored part of normalize_varscan and added sorting capability on
headers