VSN: variable sorting for normalization