writer model to a binary file and sort feature map by decreace