Fixed thin_threads which reported 0 all the time
Fixed instance order using port number and not pid anymore
Fixed element sorting on config call
Merge pull request #321 from tomav/fixed_display_order

Fixed display order