Add support for sort by random seed