Filter out invalid suggestions before sorting

May as well only sort useful suggestions