Sorting in STS