Update surfplank

sort variables; spstore array; add select()