@Override
        public int compare(KeyFrame k1, KeyFrame k2) {
            if(k1.frameNum > k2.frameNum){
                return 1;
            }
            else if(k1.frameNum == k2.frameNum){
                return 0;
            }
            
            return (-1);
            //throw new UnsupportedOperationException("Not supported yet.");
        }