Add secondary sort criteria to make output less jumpy at start