SortViewHelper to work with numberic properties

If you have an numberic property which you want to sortby this causes
problems when you have more than one element this that value on sortby
property.

Right now a this rewrites a numberic value from 1 to 11 for example
which will mess up the sorting.

With this change ksort would handle the index as float and not integer
and sorting will work as expected for numberic properties too.