added cres_in_range() function to support genome browser
result of cres_in_range is now sorted