It is assumed that the workspace is ~/ros2_ws/.
cd ~/ros2_ws/srcgit clone https://github.com/gfigneczi1/ign_b7e_array_sortercd ~/ros2_wscolcon build --packages-select array_sorter --symlink-installDon't forget to source before ROS commands.
source ~/ros2_ws/install/setup.bashros2 launch array_sorter launch_array_sorter.launch.pyEcho topics /unsorted_array and /sorted_array by:
ros2 topic echo /unsorted_arrayros2 topic echo /sorted_array