- replace timsort with go's sort

This commit is contained in:
Emir Pasic
2016-06-25 05:51:41 +02:00
parent c874c09c6d
commit 2ccfba5f93
6 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -138,7 +138,7 @@ func (list *List) Clear() {
list.elements = []interface{}{}
}
// Sort sorts values (in-place) using timsort.
// Sort sorts values (in-place) using.
func (list *List) Sort(comparator utils.Comparator) {
if len(list.elements) < 2 {
return