Also sort the filaments and remove duplicated keys Signed-off-by: xun.zhang <xun.zhang@bambulab.com> Change-Id: I31678c42d55ba3d77c743eaeff071849a8f3d0e7