sort problem with structure