Go package to create a sorted index of data