add sort callback wrapper method
pass list to call_user_func() by reference!
make sort wrapper more flexible and fix calltime pass by ref notice
added method to return an array of all list keys
return valued returned by sort callback to faciliate error checking by calling routines
track indexes and only sort if necessary to improve performance of top(), bottom() and iteration