rg ... | sort -t : -sk 1,1Stable (-s) sort by first key (-k 1,1) only, delimited by : (-t :). In this particular case you could use rg --sort=path ... instead.
rg ... | sort -t : -sk 1,1Stable (-s) sort by first key (-k 1,1) only, delimited by : (-t :). In this particular case you could use rg --sort=path ... instead.