I'll try the sorting first before handling method here. Possibly not the best idea if the techlist is ever huge, but the techlist is supposed to be limited in size.