Dear All, Is it possible to sort "string" variable? Suppose that the data set is
Code:
* Example generated by -dataex-. To install: ssc install dataex
clear
input str54 temp
"2089525.IB,2089526.IB,2089527.IB"                      
"2089502.IB,2089503.IB,2089504.IB"                      
"2089511.IB,2089512.IB,2089513.IB"                      
"2089499.IB,2089500.IB,2089501.IB"                      
"2089516.IB,2089517.IB,2089518.IB"                      
"2089481.IB,2089482.IB,2089483.IB"                      
"2089478.IB,2089479.IB,2089480.IB"                      
"2089442.IB,2089443.IB,2089444.IB"                      
"2089494.IB,2089495.IB,2089496.IB"                      
"2089467.IB,2089468.IB,2089469.IB"                      
"2089439.IB,2089440.IB,2089441.IB"                      
"2089455.IB,2089456.IB,2089457.IB"                      
"2089464.IB,2089465.IB,2089466.IB"                      
"2089489.IB,2089490.IB,2089491.IB,2089492.IB,2089493.IB"
"2089387.IB,2089388.IB,2089389.IB"                      
"2089408.IB,2089409.IB,2089410.IB,2089411.IB"           
"2089445.IB,2089446.IB,2089447.IB,2089448.IB"           
"2089430.IB,2089431.IB,2089432.IB"                      
"2089355.IB,2089356.IB,2089357.IB"                      
"2089412.IB,2089413.IB,2089414.IB"                      
end

split temp, p(",")
drop temp