package data // TODO docstring type ISortCriteria[T any] interface { Weight(t T) int }