Sort mode results.