MiniProjectTargetSelector: Fix wrong sorting

We need to sort indexes based on results. Also fix that with
too tooSmall being true, <= was used instead of <.

Broken in 12103e0f676f762658310b885f8d427cdd755a18

Change-Id: Ia8b7484fdea41776050b1a7ef85789cc49deab78
Reviewed-by: Nikita Baryshnikov <nib952051@gmail.com>
Reviewed-by: Daniel Teske <daniel.teske@digia.com>