SPSA SORT