Structs implementing sorts interface to accommodate sorting feature in structs