Sort to better compression