copy block property to allow use of stack blocks
fix deprecated warnings on iOS7
fix sorting with more then 1 indexes