the go package already contains a sort interface for []ints.