Strecth template model test
Sort the log descending
Sort the log descending based by its key