change margins for svg
sort column names and row names