Added drag select priority sorting Fixes #49