Allow snapshots to be sorted by replication column

Ticket:	#4755
(cherry picked from commit 654839a04fe35c10af7310000003fd3414594383)