Index sorted array in a better way
Merge pull request #14 from charkost/patch-2

Index sorted array in a better way