     func build() -> Sort
 }
 
-public class Sort {
+public class Sort: Codable {
     
     private static let ORDER = "order"
     private static let MODE = "mode"

                Sort.MODE : self.mode?.rawValue
                ]]
    }
}

public enum SortOrder: String {
    case asc = "asc"
    case desc = "desc"
}

public enum SortMode: String {
    case max = "max"
    case min = "min"
    case avg = "avg"


import Foundation
import ElasticSwiftCore
import ElasticSwiftCodableUtils

public final class SortBuilders {
    
