AMBARI-8196. Config History: service/group filtered results should be internally sorted by version.(xiwang)