Here are a couple of examples
Note the second isn't just a sort (much too easy :-)... but takes the negative numbers into a group - (topic), likewise the positive - then rejoins the groups... in a sequence set by the topics...
[{"id":"5208ff70.44718","type":"inject","z":"e0631187.0034b","name":"","topic":"SEQ","payload":"[1,2,3,4,5]","payloadType":"json","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":140,"y":140,"wires":[["f631ec88.be849"]]},{"id":"f631ec88.be849","type":"split","z":"e0631187.0034b","name":"","splt":"\\n","spltType":"str","arraySplt":1,"arraySpltType":"len","stream":false,"addname":"","x":310,"y":140,"wires":[["4c952bd2.0c3ef4"]]},{"id":"4c952bd2.0c3ef4","type":"batch","z":"e0631187.0034b","name":"","mode":"concat","count":10,"overlap":0,"interval":10,"allowEmptySequence":false,"topics":[{"topic":"SEQ"},{"topic":"SEQ"}],"x":450,"y":140,"wires":[["b0910814.ba9308"]]},{"id":"b0910814.ba9308","type":"join","z":"e0631187.0034b","name":"","mode":"auto","build":"string","property":"payload","propertyType":"msg","key":"topic","joiner":"\\n","joinerType":"str","accumulate":"false","timeout":"","count":"","reduceRight":false,"x":590,"y":140,"wires":[["e22a7e3c.7a1d2"]]},{"id":"e22a7e3c.7a1d2","type":"debug","z":"e0631187.0034b","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":750,"y":140,"wires":[]},{"id":"5879f216.2ce0bc","type":"comment","z":"e0631187.0034b","name":"Duplicate","info":"","x":80,"y":100,"wires":[]},{"id":"92182451.05d258","type":"inject","z":"e0631187.0034b","name":"","topic":"SEQ","payload":"[1,-6,-8,7,2,-3]","payloadType":"json","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":140,"y":260,"wires":[["17bfb97.3315847"]]},{"id":"17bfb97.3315847","type":"split","z":"e0631187.0034b","name":"","splt":"\\n","spltType":"str","arraySplt":1,"arraySpltType":"len","stream":false,"addname":"","x":310,"y":260,"wires":[["bcf68114.86dad"]]},{"id":"37ac894a.6691e6","type":"comment","z":"e0631187.0034b","name":"Filter & Concat","info":"","x":100,"y":220,"wires":[]},{"id":"bcf68114.86dad","type":"switch","z":"e0631187.0034b","name":"","property":"payload","propertyType":"msg","rules":[{"t":"gt","v":"0","vt":"num"},{"t":"else"}],"checkall":"true","repair":true,"outputs":2,"x":370,"y":320,"wires":[["524fb754.ec6008"],["15bf3a07.977816"]]},{"id":"44a61da0.b3fa64","type":"comment","z":"e0631187.0034b","name":"ā Duplicate SEQ","info":"","x":480,"y":180,"wires":[]},{"id":"524fb754.ec6008","type":"change","z":"e0631187.0034b","name":"TopicāPOS","rules":[{"t":"set","p":"topic","pt":"msg","to":"POS","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":530,"y":280,"wires":[["60d5ee4e.e9abd"]]},{"id":"15bf3a07.977816","type":"change","z":"e0631187.0034b","name":"TopicāNEG","rules":[{"t":"set","p":"topic","pt":"msg","to":"NEG","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":530,"y":340,"wires":[["60d5ee4e.e9abd"]]},{"id":"60d5ee4e.e9abd","type":"batch","z":"e0631187.0034b","name":"","mode":"concat","count":10,"overlap":0,"interval":10,"allowEmptySequence":false,"topics":[{"topic":"NEG"},{"topic":"POS"}],"x":690,"y":320,"wires":[["3172cb41.204654"]]},{"id":"f18fb109.d9302","type":"debug","z":"e0631187.0034b","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":910,"y":260,"wires":[]},{"id":"3172cb41.204654","type":"join","z":"e0631187.0034b","name":"","mode":"auto","build":"string","property":"payload","propertyType":"msg","key":"topic","joiner":"\\n","joinerType":"str","accumulate":"false","timeout":"","count":"","reduceRight":false,"x":750,"y":260,"wires":[["f18fb109.d9302"]]},{"id":"bd630efb.7ec67","type":"comment","z":"e0631187.0034b","name":"ā Order sequence: negativeāpositive","info":"","x":790,"y":360,"wires":[]},{"id":"182c0d29.62f153","type":"comment","z":"e0631187.0034b","name":"Filter pos/neg and make separate sequenceā (but not a simple sort) ","info":"","x":300,"y":380,"wires":[]}]