add sorting to bibliography