Optical sorting and detection of sub-micron objects in a motional standing wave