Implement sorting string according to dictionary order incorrectly, transitive order is not considered at all (a > b, b > c => a > c).