On New Sorting-Based Lossless Motion Estimation Algorithms