pkg/sorted: remove API for each implementation

Change-Id: I42446683189cdb00dcfbec1f221885092fdd83d6