Performance of sorting without cache tuned up. Type casting on indexes.