Double-tone sorting