ID3 sort