Is there any kind of Order/Sort node for Arrays?

This is amazing, but how you add script in a node? is it possible to add Python code there as well ?