Don't sort the declartions before putting them in the panel.
They should already be sorted in the ideal order: by declartion.
Additionally, this fixes a display issues wherin struct fields were being placed away from their struct entries,
due to the recent removal of the the `type` prefix on struct and interface field entries.
Fix attribute exception due to missing import.
Don't sort the declarations.
Sorting the declarations causes the field entries for structs and interfaces to be placed away from their parent types.
This should fix all cases of this issue.