better sorting algorithm for scaling (#917)
better sorting algorithm for scaling (#917)

* better sorting algorithm for scaling

Signed-off-by: epsilonKNOT <floss@bsd.ac>

* add bugs, make code slow, but I like it :)

Co-authored-by: Ilia Bozhinov <175073f4af315de21c68e10beb23516017b538ea@gmail.com>
ammen99/wayfire,ammen99/wayfire